-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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(op-batcher): support new fjord maxRLPBytesPerChannelFjord via rollup chain spec #11169
fix(op-batcher): support new fjord maxRLPBytesPerChannelFjord via rollup chain spec #11169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this fix! I think the pragmatic solution to just use the batch's timestamp as an activation reference works well, as it is fine around the Fjord boundary to activate it a few blocks later than could be, since the max size is increased.
6a050f1
to
1ab9b4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
6dfe4b0
Worth to mention that this fix was possible collaborating with Derive (former Lyra) team which was exploring higher gas block limits (120M). |
Context:
Fjord bump 10x
MaxRLPBytesPerChannel
to support higher gas limits.On derivation the new limit is supported but op-batcher still use the old value.
This can lead to situation where the batcher halt in a chain post-Fjord with high block gas limit when a block bigger than 10M(bytes) is produced (this because a block cannot span today more than 1 channel).
This fixes #10428 using the new value when appropriated and remove legacy
SafeMaxRLPBytesPerChannel
.In the comments on the channel builder there a note about the choice of timestamp.