rust-ethereum / evm

Pure Rust implementation of Ethereum Virtual Machine
Apache License 2.0
1.14k stars 350 forks source link

Support for EIP-5656 and EIP-1153 #277

Open CedarMist opened 4 months ago

CedarMist commented 4 months ago

As of Solidity 0.8.25 on 14th March 2024 the default Ethereum hardfork is Dencun, meaning these new opcodes are emitted when the optimizer deems suitable.

This means projects using this EVM implementation will revert due to invalid opcodes with many contracts that are compiled with the 0.8.25 release of Solidity and it's something that should be supported with high priority.

RomarQ commented 2 months ago

https://github.com/rust-ethereum/evm/pull/278 adds support for EIP-1153

RomarQ commented 2 months ago

https://github.com/rust-ethereum/evm/pull/279 adds support for EIP-5656

CedarMist commented 2 months ago

Awesome!

Thank so much @RomarQ for taking the time to implement the two EIPs.

We're also considering moving from this package to https://github.com/bluealloy/revm - but it's important that both have support for these new opcodes.