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

Allow multiple txs per block #362

Open
itegulov opened this issue Oct 29, 2024 · 1 comment · May be fixed by #392
Open

Allow multiple txs per block #362

itegulov opened this issue Oct 29, 2024 · 1 comment · May be fixed by #392
Assignees

Comments

@itegulov
Copy link
Contributor

Current implementation computes and seals a block immediately after seeing a single L2 tx. This is undesirable in a lot of cases when you want to test scenarios closer to production with multiple txs making it into the same block.

I propose we allow two modes of operation:

  • Manual block sealing - there is an existing mining mechanism that we can reuse (currently always mines empty blocks which is of limited value anyway)
  • Automatic block sealing every so often (configurable on startup)
@popzxc
Copy link
Member

popzxc commented Oct 29, 2024

My 2cents: we probably want to match anvil's behavior here.

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 a pull request may close this issue.

2 participants