ethereum / py-evm

A Python implementation of the Ethereum Virtual Machine
https://py-evm.readthedocs.io/en/latest/
MIT License
2.27k stars 654 forks source link

feat: add mcopy implementation #2141

Closed charles-cooper closed 8 months ago

charles-cooper commented 9 months ago

What was wrong?

pacrob commented 9 months ago

Thanks for getting this going! I've switched it to base off the existing cancun-network-upgrade branch, fixing the conflicts now.

fselmo commented 8 months ago

@charles-cooper @pacrob want to make another pass for more eyes on the changes when you have some time? I got all the tests passing. Took me way too long to realize some of those state tests don't take EIP-4788 into account 😔.


edit: I fixed up the issues with beacon roots address. Pushed a change to cancun-network-upgrade branch and rebased. Patching around it is no longer necessary since we only update the beacon roots if the address exists now. This should be good to go but would be nice to get eyes and a 👍🏼 before merging.

charles-cooper commented 8 months ago

looks good, we can combine the two calls to extend_memory() into one