@aztec/aztec-node 0.0.1-commit.f5d02921e → 0.0.1-commit.f7ea82942

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,7 +163,7 @@ export class Sentinel extends EventEmitter {
163
163
  if (this.config.slashInactivityPenalty === 0n) {
164
164
  return;
165
165
  }
166
- const inactiveValidators = getEntries(performance).filter(([_, { missed, total }])=>missed / total >= this.config.slashInactivityTargetPercentage).map(([address])=>address);
166
+ const inactiveValidators = getEntries(performance).filter(([_, { missed, total }])=>total > 0 && missed / total >= this.config.slashInactivityTargetPercentage).map(([address])=>address);
167
167
  this.logger.debug(`Found ${inactiveValidators.length} inactive validators in epoch ${epoch}`, {
168
168
  inactiveValidators,
169
169
  epoch,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/aztec-node",
3
- "version": "0.0.1-commit.f5d02921e",
3
+ "version": "0.0.1-commit.f7ea82942",
4
4
  "main": "dest/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -65,31 +65,31 @@
65
65
  ]
66
66
  },
67
67
  "dependencies": {
68
- "@aztec/archiver": "0.0.1-commit.f5d02921e",
69
- "@aztec/bb-prover": "0.0.1-commit.f5d02921e",
70
- "@aztec/blob-client": "0.0.1-commit.f5d02921e",
71
- "@aztec/blob-lib": "0.0.1-commit.f5d02921e",
72
- "@aztec/constants": "0.0.1-commit.f5d02921e",
73
- "@aztec/epoch-cache": "0.0.1-commit.f5d02921e",
74
- "@aztec/ethereum": "0.0.1-commit.f5d02921e",
75
- "@aztec/foundation": "0.0.1-commit.f5d02921e",
76
- "@aztec/kv-store": "0.0.1-commit.f5d02921e",
77
- "@aztec/l1-artifacts": "0.0.1-commit.f5d02921e",
78
- "@aztec/node-keystore": "0.0.1-commit.f5d02921e",
79
- "@aztec/node-lib": "0.0.1-commit.f5d02921e",
80
- "@aztec/noir-protocol-circuits-types": "0.0.1-commit.f5d02921e",
81
- "@aztec/p2p": "0.0.1-commit.f5d02921e",
82
- "@aztec/protocol-contracts": "0.0.1-commit.f5d02921e",
83
- "@aztec/prover-client": "0.0.1-commit.f5d02921e",
84
- "@aztec/prover-node": "0.0.1-commit.f5d02921e",
85
- "@aztec/sequencer-client": "0.0.1-commit.f5d02921e",
86
- "@aztec/simulator": "0.0.1-commit.f5d02921e",
87
- "@aztec/slasher": "0.0.1-commit.f5d02921e",
88
- "@aztec/stdlib": "0.0.1-commit.f5d02921e",
89
- "@aztec/telemetry-client": "0.0.1-commit.f5d02921e",
90
- "@aztec/validator-client": "0.0.1-commit.f5d02921e",
91
- "@aztec/validator-ha-signer": "0.0.1-commit.f5d02921e",
92
- "@aztec/world-state": "0.0.1-commit.f5d02921e",
68
+ "@aztec/archiver": "0.0.1-commit.f7ea82942",
69
+ "@aztec/bb-prover": "0.0.1-commit.f7ea82942",
70
+ "@aztec/blob-client": "0.0.1-commit.f7ea82942",
71
+ "@aztec/blob-lib": "0.0.1-commit.f7ea82942",
72
+ "@aztec/constants": "0.0.1-commit.f7ea82942",
73
+ "@aztec/epoch-cache": "0.0.1-commit.f7ea82942",
74
+ "@aztec/ethereum": "0.0.1-commit.f7ea82942",
75
+ "@aztec/foundation": "0.0.1-commit.f7ea82942",
76
+ "@aztec/kv-store": "0.0.1-commit.f7ea82942",
77
+ "@aztec/l1-artifacts": "0.0.1-commit.f7ea82942",
78
+ "@aztec/node-keystore": "0.0.1-commit.f7ea82942",
79
+ "@aztec/node-lib": "0.0.1-commit.f7ea82942",
80
+ "@aztec/noir-protocol-circuits-types": "0.0.1-commit.f7ea82942",
81
+ "@aztec/p2p": "0.0.1-commit.f7ea82942",
82
+ "@aztec/protocol-contracts": "0.0.1-commit.f7ea82942",
83
+ "@aztec/prover-client": "0.0.1-commit.f7ea82942",
84
+ "@aztec/prover-node": "0.0.1-commit.f7ea82942",
85
+ "@aztec/sequencer-client": "0.0.1-commit.f7ea82942",
86
+ "@aztec/simulator": "0.0.1-commit.f7ea82942",
87
+ "@aztec/slasher": "0.0.1-commit.f7ea82942",
88
+ "@aztec/stdlib": "0.0.1-commit.f7ea82942",
89
+ "@aztec/telemetry-client": "0.0.1-commit.f7ea82942",
90
+ "@aztec/validator-client": "0.0.1-commit.f7ea82942",
91
+ "@aztec/validator-ha-signer": "0.0.1-commit.f7ea82942",
92
+ "@aztec/world-state": "0.0.1-commit.f7ea82942",
93
93
  "koa": "^2.16.1",
94
94
  "koa-router": "^13.1.1",
95
95
  "tslib": "^2.4.0",