Commit 50bece1
authored
fix: Do not attempt proposer check if late into a slot (#16668)
Do not bother checking if we are the current proposer in the sequencer
if we won't have time to propose a block anyway.
This should fix a [flake in block-building e2e
tests](http://ci.aztec-labs.com/f84c2981d9e62498), where we were seeing
`proposer-rollup-check-failed` errors. This was caused because the
proposer check was done at the very end of the slot, and ended up being
executed on L1 on the following slot.File tree
2 files changed
+6
-2
lines changed- yarn-project/sequencer-client/src/sequencer
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
512 | 516 | | |
513 | 517 | | |
514 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | 144 | | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments