Commit 2fa7ef4
authored
feat(backport-to-v2): fisherman mode (#18384)
Fixes
[A-134](https://linear.app/aztec-labs/issue/A-134/fisherman-mode-for-the-node)
[A-147](https://linear.app/aztec-labs/issue/A-147/node-that-checks-every-attestation)
[A-148](https://linear.app/aztec-labs/issue/A-148/node-that-checks-every-block-proposal)
[A-149](https://linear.app/aztec-labs/issue/A-149/node-that-tries-to-build-block-on-every-slot)
[A-150](https://linear.app/aztec-labs/issue/A-150/node-that-tries-to-invalidate-simulate-blocks)
[A-256](https://linear.app/aztec-labs/issue/A-256/block-re-exeuction)
Add `--fisherman-mode [FISHERMAN_MODE]` option that will make the node:
- Always run validator
- re-execute all blocks & create attestation (that will NOT be
broadcast)
- Validate all attestations against block proposal payload
- Attempts to build block for every slot
- Runs slashing logic & enqueues tx (never submits)
Also added alerting rules
- block re-execution failures
- block pre-validation / building failures
---------
Co-authored-by: spypsy <[email protected]>1 parent e9141b6 commit 2fa7ef4
File tree
30 files changed
+1188
-100
lines changed- .github/workflows
- spartan
- aztec-node/templates
- environments
- metrics/grafana/alerts
- scripts
- terraform/deploy-aztec-infra
- yarn-project
- aztec/src/cli
- cmds
- end-to-end/src/fixtures
- foundation/src/config
- node-lib/src/config
- p2p/src
- msg_validators/attestation_validator
- services/libp2p
- sequencer-client/src
- publisher
- sequencer
- stdlib/src/interfaces
- telemetry-client/src
- validator-client/src
30 files changed
+1188
-100
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
0 commit comments