bsc
bsc copied to clipboard
BEP-441: Implement EIP-7702: Set EOA account code
Description
BEP-441: Implement EIP-7702: Set EOA account code
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
code is following https://github.com/ethereum/go-ethereum/pull/30078
As said in (https://github.com/ethereum/go-ethereum/issues/30519) , https://github.com/lightclient/go-ethereum/tree/prague-devnet-3 is is used for Pectra-devnet-3
in the prague upgrade, eip-7702 is the most complicated, and the spec still not be finalized. according to https://notes.ethereum.org/@ethpandaops/pectra-devnet-3 run [email protected] against https://github.com/ethereum/go-ethereum/pull/30078, still have many failed test cases 93/1596.
but after picking the code into bsc, there are 145/1596 failed cases. by debugging, I find the reason, https://github.com/ethereum/go-ethereum/pull/29520 but this PR is not easy to pick, so I do code implement after understanding it, outcome the second commit, please review it carefully! Now the number of passed test cases is 93/1596 too.