@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.
- package/dest/aztec-node/server.d.ts +14 -15
- package/dest/aztec-node/server.d.ts.map +1 -1
- package/dest/aztec-node/server.js +293 -243
- package/dest/sentinel/sentinel.js +1 -1
- package/package.json +26 -26
- package/src/aztec-node/server.ts +381 -321
- package/src/sentinel/sentinel.ts +1 -1
|
@@ -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.
|
|
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.
|
|
69
|
-
"@aztec/bb-prover": "0.0.1-commit.
|
|
70
|
-
"@aztec/blob-client": "0.0.1-commit.
|
|
71
|
-
"@aztec/blob-lib": "0.0.1-commit.
|
|
72
|
-
"@aztec/constants": "0.0.1-commit.
|
|
73
|
-
"@aztec/epoch-cache": "0.0.1-commit.
|
|
74
|
-
"@aztec/ethereum": "0.0.1-commit.
|
|
75
|
-
"@aztec/foundation": "0.0.1-commit.
|
|
76
|
-
"@aztec/kv-store": "0.0.1-commit.
|
|
77
|
-
"@aztec/l1-artifacts": "0.0.1-commit.
|
|
78
|
-
"@aztec/node-keystore": "0.0.1-commit.
|
|
79
|
-
"@aztec/node-lib": "0.0.1-commit.
|
|
80
|
-
"@aztec/noir-protocol-circuits-types": "0.0.1-commit.
|
|
81
|
-
"@aztec/p2p": "0.0.1-commit.
|
|
82
|
-
"@aztec/protocol-contracts": "0.0.1-commit.
|
|
83
|
-
"@aztec/prover-client": "0.0.1-commit.
|
|
84
|
-
"@aztec/prover-node": "0.0.1-commit.
|
|
85
|
-
"@aztec/sequencer-client": "0.0.1-commit.
|
|
86
|
-
"@aztec/simulator": "0.0.1-commit.
|
|
87
|
-
"@aztec/slasher": "0.0.1-commit.
|
|
88
|
-
"@aztec/stdlib": "0.0.1-commit.
|
|
89
|
-
"@aztec/telemetry-client": "0.0.1-commit.
|
|
90
|
-
"@aztec/validator-client": "0.0.1-commit.
|
|
91
|
-
"@aztec/validator-ha-signer": "0.0.1-commit.
|
|
92
|
-
"@aztec/world-state": "0.0.1-commit.
|
|
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",
|