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
313 stars 76 forks source link

fix: `evm_mine` should produce non-empty blocks when it can #404

Open itegulov opened 6 days ago

itegulov commented 6 days ago

Currently evm_mine always produces an empty block without looking at the mempool. This shouldn't be the case - we want evm_mine to take whatever it can from the mempool and produce a block that way; sort of how immediate sealing mode works in https://github.com/matter-labs/era-test-node/pull/392.