Commit 8e71e17
authored
fix(state): cap NextBlocks batch against ClickHouse limiter max (#82)
NextBlocks only capped against chainHead, allowing blocks past the
beacon chain execution payload limit to be enqueued. Fetch limiter max
once at batch start and break the forwards-mode loop when exceeded.1 parent fc8a21f commit 8e71e17
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
302 | 312 | | |
303 | 313 | | |
304 | 314 | | |
| |||
319 | 329 | | |
320 | 330 | | |
321 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
322 | 336 | | |
323 | 337 | | |
324 | 338 | | |
| |||
0 commit comments