Skip to content

EIP-3541 london test fixes #2029

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

Merged
merged 2 commits into from
Sep 20, 2021
Merged

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Sep 17, 2021

What was wrong?

  • LondonComputation was raising an error where it should set the error and return the computation. This fixes broken ethereum tests related to this new logic from EIP-3541.
  • Ethereum tests released a new version (v10.0)

How was it fixed?

  • Set the computation.error and return the computation rather than raise the VMError
  • Updated ethereum tests submodule to new version v10.0

To-Do

  • Clean up commit history

Cute Animal Picture

IMG_20210915_165945

@fselmo fselmo changed the title London test fixes EIP-3541 london test fixes Sep 17, 2021
@fselmo fselmo changed the title EIP-3541 london test fixes [WIP] EIP-3541 london test fixes Sep 17, 2021
@fselmo fselmo force-pushed the london-test-fixes branch 5 times, most recently from a88ed9c to 2947b42 Compare September 17, 2021 19:26
@fselmo fselmo changed the title [WIP] EIP-3541 london test fixes EIP-3541 london test fixes Sep 17, 2021
@fselmo fselmo marked this pull request as ready for review September 17, 2021 19:41
@fselmo
Copy link
Collaborator Author

fselmo commented Sep 17, 2021

@carver @kclowes, these changes should resolve the failing tests on #2021 related to the reserved bytecode (EIP-3541).

Copy link
Contributor

@carver carver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, all of the refactor & fix in the spurious_dragon computation looks like an improvement to me. Yay for fewer branches.

The big glaring issue is: no cute animal picture! X)

@fselmo
Copy link
Collaborator Author

fselmo commented Sep 17, 2021

The big glaring issue is: no cute animal picture! X)

I'm a monster... how could I forget 😞

Don't raise VMError for reserved bytecode. Instead, set the error on the computation and return the computation.
@fselmo
Copy link
Collaborator Author

fselmo commented Sep 17, 2021

@kclowes @carver updated. I am good to merge this if you are. No write permissions on my end.

@kclowes kclowes merged commit 421ebbc into ethereum:master Sep 20, 2021
@carver
Copy link
Contributor

carver commented Sep 20, 2021

Also just added you for write access @fselmo

@fselmo fselmo mentioned this pull request Sep 29, 2021
11 tasks
@fselmo fselmo deleted the london-test-fixes branch October 5, 2021 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants