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

feat(transition_tool): Use execution-specs daemon #453

Closed
wants to merge 5 commits into from

Conversation

marioevz
Copy link
Member

@marioevz marioevz commented Feb 22, 2024

🗒️ Description

Implements usage of the execution-specs evm daemon implemented in this branch: https://github.com/ethereum/execution-specs/tree/evm-daemon

Which makes filling all tests with EELS around 57 times faster.

I've also diff'd the resulting fixtures and the only difference in all of them is the evm version in the _info.

To test the deamon with this branch in an existing/installed execution-spec-tests setup:

pip uninstall ethereum
pip install ethereum@git+https://github.com/ethereum/execution-specs@evm-daemon
# verify daemon option is available in `ethereum-spec-evm`'s help:
ethereum-spec-evm --help
fill --evm-bin=ethereum-spec-evm

🔗 Related Issues

None.

✅ 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: 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.

@marioevz marioevz marked this pull request as draft February 22, 2024 21:42
@marioevz marioevz added scope:evm Scope: evm_transition_tool package type:feat type: Feature labels Feb 22, 2024
Copy link
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

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

Works like a charm, really amazing!

docs/CHANGELOG.md Outdated Show resolved Hide resolved
@@ -27,6 +27,7 @@ install_requires =
setuptools
types-setuptools
requests>=2.31.0
parsys-requests-unixsocket==0.3.1
Copy link
Member

Choose a reason for hiding this comment

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

Any reason for the strict version pinning?

Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't really think about it when adding it, should it be >=0.3.1?

chain_id: int = 1,
reward: int = 0,
eips: Optional[List[int]] = None,
debug_output_path: str = "",
Copy link
Member

Choose a reason for hiding this comment

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

We still need to add --evm-dump-dir support.

Co-authored-by: danceratopz <danceratopz@gmail.com>
@spencer-tb
Copy link
Collaborator

Closing in favour of #792!

@spencer-tb spencer-tb closed this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:evm Scope: evm_transition_tool package type:feat type: Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants