Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't miss blocks on batcher updates #529

Merged
merged 2 commits into from
Apr 2, 2025

Conversation

0x416e746f6e
Copy link
Contributor

📝 Summary

When batcher's max channel duration is big enough (e.g. 10m), the
batcher would be pushing its updates at specified intervals. This
causes the sequencer to send an avalanche of FCUs (and
getBlockByNumber) that push safe head step-by-step. As a consequence
it can happen that the time b/w FCU and ensuing getPayload would be
on the scale of ~2.5s. This means that we should "remember" the
payloads long enough to accommodate that corner-case.


✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@ferranbt ferranbt merged commit fb648fa into develop Apr 2, 2025
3 of 4 checks passed
@ferranbt ferranbt deleted the fix/dont-lose-blocks-on-batcher-updates branch April 2, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants