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

feat: disable sequencer MaxTxDataSize check against sequencer inbox MaxDataSize when DA is enabled #2881

Conversation

kevin-satsuma
Copy link

currently when DA is enabled the batch poster MaxSize check against the sequencer inbox MaxDataSize is disabled. hoping for the same behavior on the sequencer MaxTxDataSize check so that we can increase an orbit chain's max transaction size when Anytrust is enabled.

keeping the check of the sequencer MaxTxDataSize against the batchPoster MaxSize as i'm assuming this is needed even when using an alt DA.

by doing this, we can theoretically increase the sequencer MaxTxDataSize to ~212KB(limited by another check in the sequencer logic against arbostypes.MaxL2MessageSize) provided that we also bump the batchPoster MaxSize appropriately.

originally was going to create a new dangerous flag for the sequencer that would disable all of these checks. however, i think this is a potentially simpler fix as comparing the sequencer MaxTxDataSize with the sequencer inbox MaxDataSize is probably not needed when the Anytrust commitment in the sequencer inbox is a small/fixed size. would greatly appreciate any details if this is not a correct assumption to make.

i'm still trying to get my local nitro build behaving correctly so I can properly add unit tests in config_test.go.

original discussion in Slack for context(in the #alchemy-arbitrum-raas channel): https://alchemyinsights.slack.com/archives/C06SZ7EKS2H/p1730259929195879

…axDataSize when DA is enabled

currently when DA is enabled the batch poster MaxSize check against the sequencer inbox MaxDataSize is disabled. hoping for the same behavior on the sequencer MaxTxDataSize check so that we can increase an orbit chain's max transaction size when Anytrust is enabled.

keeping the check of the sequencer MaxTxDataSize against the batchPoster MaxSize as i'm assuming this is needed even when using an alt DA.

by doing this, we can theoretically increase the sequencer MaxTxDataSize to ~212KB(limited by another check in the sequencer logic against arbostypes.MaxL2MessageSize) provided that we also bump the batchPoster MaxSize appropriately.

originally was going to create a new dangerous flag for the sequencer that would disable all of these checks. however, i think this is a potentially simpler fix as comparing the sequencer MaxTxDataSize with the sequencer inbox MaxDataSize is probably not needed when the Anytrust committment in the sequencer inbox is a small/fixed size. would greatly appreciate any details if this is not a correct assumption to make.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@kevin-satsuma
Copy link
Author

discussed on slack! closing in favor for #2885

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