Repository navigation
Commit 73e600a
authored
[r3.8] cl/phase1/network/registry: let one peer forward a slot's aggregates at once (#25250)
Cherry-pick of #25236 to release/3.8.
The `beacon_aggregate_and_proof` topic allowed 8 messages per second per
peer, with a burst of 16. Aggregates for a slot arrive in a burst, and
an aggregate the limiter ignored was also dropped from every other peer
because gossipsub had already marked it as seen, so the node lost whole
committees. One peer may now forward a whole slot's expected aggregates
in one burst (`MaxCommitteesPerSlot * TargetAggregatorsPerCommittee`),
refilled over the slot. Fixes #25235 on release/3.8.
Clean cherry-pick of 2cedbab. `go test -race
./cl/phase1/network/registry/` passes; `make lint` is clean twice; `make
erigon integration` builds. The same change has run on a
release/3.8-based mainnet node since 2026-10-22 (see #25236).1 parent 981bff9 commit 73e600a
2 files changed
Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
110 | 119 | | |
111 | 120 | | |
112 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
0 commit comments