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 75 forks source link

feat: added hardhat_setNextBlockBaseFeePerGas #312

Closed vbar closed 2 months ago

vbar commented 2 months ago

What :computer:

Implemented the hardhat_setNextBlockBaseFeePerGas API.

Why :hand:

Requested in https://github.com/matter-labs/era-test-node/issues/150 .

Evidence :camera:

Added an e2e test, which passes:

  hardhat_setNextBlockBaseFeePerGas
    ✔ should allow setting the next block's base fee per gas