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

AllowPostingBatchWithOnlyBatchPostingReport config #2657

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diegoximenes
Copy link
Contributor

Resolves NIT-2720.

AllowPostingBatchWithOnlyBatchPostingReport config.

SequencerInbox contract adds a batch posting report to the delayed inbox after a batch is posted to the non delayed inbox.
When AllowPostingBatchWithOnlyBatchPostingReport is set to true, considering that no L2 transactions were created since the last posted batch, the sequencer will read the batch posting report from the delayed inbox and will post a batch only containing the report.
So setting AllowPostingBatchWithOnlyBatchPostingReport to true guarantees that a batch will be posted at least as frequently as batch the batch poster tries to create a batch.

This is going to be useful to avoid allowing validation being permissionless if there have been no assertions created within a 2 week period, behavior which is controlled by Nitro's contracts.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Sep 10, 2024
@diegoximenes diegoximenes force-pushed the allow_only_posting_batch_posting_report branch from b3b8501 to df0da33 Compare September 10, 2024 15:38
@diegoximenes diegoximenes marked this pull request as ready for review September 10, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant