bluealloy / revm

Rust implementation of the Ethereum Virtual Machine.
https://bluealloy.github.io/revm/
MIT License
1.64k stars 551 forks source link

fix(eip7702): set delegated code on call #1706

Closed rkrasiuk closed 2 months ago

rkrasiuk commented 2 months ago

Description

h/t @onbjerg

Load and set delegated code on call. This might not be entirely correct wrt gas tracking but it fixes a critical bug that causes panics during EIP-7702 transaction execution.