edr icon indicating copy to clipboard operation
edr copied to clipboard

Implement per-EIP toggling of features in `revm`

Open Wodann opened this issue 2 years ago • 0 comments
trafficstars

Currently, it's only possible to select a hardfork for revm, but Hardhat requires more fine-grained control by enabling individual EIPs.

After discussing with the revm team, we want to create a proposal PR to revm that implements an approach where under the hood, revm uses EIPs that can be optionally toggled through a low-level API while the normal workflow allows the user to still use a hardfork (or SpecId).

Definition of Done

  • Implement a proposal PR in revm for per-EIP toggling
  • Use the above PR in edr
  • Instead of using SpecId::Cancun when Hardhat requests transient storage, only toggle the transient storage EIP

Wodann avatar Sep 25 '23 20:09 Wodann