matter-labs / era-test-node

In-memory node that can be used for integration testing and debugging.
https://matter-labs.github.io/era-test-node
Apache License 2.0
308 stars 76 forks source link

Allow multiple txs per block #362

Open itegulov opened 2 weeks ago

itegulov commented 2 weeks ago

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:

popzxc commented 2 weeks ago

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