Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/vm: implement eof opcodes #30511

Open
wants to merge 43 commits into
base: master
Choose a base branch
from

Conversation

MariusVanDerWijden
Copy link
Member

@MariusVanDerWijden MariusVanDerWijden commented Sep 26, 2024

based on #30418
rework of #29518

I could not test this properly yet, as the validity of the blockchain tests depend on the prague spec. In order to test this correctly, we need to upstream 6110 and 7002

Unfortunately I couldn't preserve the authorship, I think by using the coauthored tag, people will receive their due credit once this is merged.

Co-authored-by: lightclient [email protected]
Co-authored-by: shemnon [email protected]
Co-authored-by: holiman [email protected]

@holiman
Copy link
Contributor

holiman commented Oct 2, 2024

Merged eof-validation, rebase time :)

@MariusVanDerWijden
Copy link
Member Author

Rebased, looks like I broke some verkle stuff, will fix later

cmd/evm/internal/t8ntool/transition.go Outdated Show resolved Hide resolved
cmd/evm/internal/t8ntool/transition.go Outdated Show resolved Hide resolved
core/genesis.go Outdated Show resolved Hide resolved
core/state_transition.go Outdated Show resolved Hide resolved
core/state_transition.go Outdated Show resolved Hide resolved
core/state_transition.go Outdated Show resolved Hide resolved
MariusVanDerWijden and others added 5 commits October 11, 2024 14:15
In state tests when running prague system contracts the origin remains as the system account.
Restore the prior tx context after running system contracts.
Restore state test transaction context
Add support for the Osaka fork and move all EOF activation and side effects to that fork.
core/vm/evm.go Outdated Show resolved Hide resolved
When copying EOF contracts, make sure EXTCODECOPY only has access to the EOF magic, not just two bytes total.
@MariusVanDerWijden MariusVanDerWijden mentioned this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants