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(specs): EOF: eof_test generates state tests, and execute in live devnets #783

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

Conversation

marioevz
Copy link
Member

@marioevz marioevz commented Sep 3, 2024

🗒️ Description

- eof_test produces state tests (and blockchain tests)

Create a state test out of an eof_test by:

  1. in the case of a run-time container, wrapping the container under test within an init container and sending a contract-creating transaction
  2. in the case of an init container, the container is wrapped in a factory container (which would execute the initcode to create a contract) and the factory container is wrapped within an init container, which is finally sent as a contract-creating transaction

- eof_test executable in live networks

This change allows the uv run execute command to send EOF initcode transactions to live networks by using the same methodology described in the previous section.

🔗 Related Issues

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

@marioevz marioevz force-pushed the eof-state-test-generation branch from 51b8181 to ed6f750 Compare September 20, 2024 21:18
@marioevz marioevz force-pushed the eof-state-test-generation branch from 5d28f2f to c13e837 Compare January 31, 2025 23:08
@marioevz marioevz changed the title feat(specs): EOF: eof_test generates state tests feat(specs): EOF: eof_test generates state tests, and execute in live devnets Jan 31, 2025
@marioevz marioevz force-pushed the eof-state-test-generation branch from 8fa0190 to b49c253 Compare February 5, 2025 16:11
@marioevz marioevz requested review from shemnon and chfast February 5, 2025 16:11
@marioevz marioevz marked this pull request as ready for review February 5, 2025 16:12
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.

1 participant