execution-spec-tests icon indicating copy to clipboard operation
execution-spec-tests copied to clipboard

refactor(tests): use Container.expected_bytecode

Open chfast opened this issue 1 year ago • 0 comments

🗒️ Description

Use the Container.expected_bytecode feature in test_section_order(). Confirm that these tests replace EOFTests/efValidation/EOF1_section_order_.json.

Source of the legacy tests: https://github.com/ethereum/tests/blob/develop/src/EOFTestsFiller/efValidation/EOF1_section_order_Copier.json.

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

chfast avatar Aug 11 '24 18:08 chfast