Skip to content

feat(tests): port intrinsic transaction gas tests from Ori #1535

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

winsvega
Copy link
Contributor

@winsvega winsvega commented May 5, 2025

🗒️ Description

This combination tests are failing in Prague, I port it now as it can not be adjusted in .json tests. (the filler was removed in ethereum/tests)
So now we can easily switch formula calculation in python.

TODO

  • support this test on Prague

🔗 Related Issues

#1199

ethereum/tests#1488

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • Tests: Included the type and version of evm t8n tool used to locally execute test cases: e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
  • Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

@winsvega winsvega force-pushed the intrinsicgen branch 2 times, most recently from 1049a46 to 2713f01 Compare May 5, 2025 11:13
@winsvega winsvega added scope:tests Scope: Changes EL client test cases in `./tests` fork:prague Prague hardfork labels May 5, 2025
@winsvega winsvega requested review from marioevz and danceratopz May 5, 2025 11:16
@winsvega winsvega self-assigned this May 5, 2025
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

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

Looks good overall, just a couple of comments, thanks!

@winsvega winsvega changed the base branch from main to coverage May 6, 2025 08:23
@winsvega winsvega changed the base branch from coverage to main May 6, 2025 08:28
@winsvega
Copy link
Contributor Author

winsvega commented May 6, 2025

with this PR it can measure the coverage diff of blockchain converted tests as well
#1554

@winsvega
Copy link
Contributor Author

winsvega commented May 6, 2025

coverage state revert is lost, but that's not the point of the test.
also evmone does not support blockchain tests with invalid blocks (

Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

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

LGTM. I rebased, removed some unnecessary lines, and changed the parametrization to test both type-1 and type-2 tx instead on only type-2 after London.

@winsvega
Copy link
Contributor Author

winsvega commented May 7, 2025

Some more bc tests can be romved now.
I wait for evmone to support invalid bc tests to run the coverage.

@marioevz
Copy link
Member

marioevz commented May 7, 2025

Interestingly, with #1554, the base blockchain tests from ethereum/tests are failing for evmone: https://github.com/ethereum/execution-spec-tests/actions/runs/14888483032/job/41814347440?pr=1535

@marioevz
Copy link
Member

marioevz commented May 9, 2025

@winsvega should it be ok to merge this with the failing coverage?

@winsvega
Copy link
Contributor Author

winsvega commented May 9, 2025

Yes, I can trigger coverage rerun once evmone implementation is ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fork:prague Prague hardfork scope:tests Scope: Changes EL client test cases in `./tests`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants