github ethereum/execution-spec-tests v2.1.1

latest releases: weld_test@v0.0.5, bal@v1.0.0, fusaka-devnet-5@v2.0.0...
18 months ago

๐Ÿ–๏ธ Final Cancun Release

Release v2.1.1 adds additional tests for EIP-6780, from pytest parameterization improvements and new dynamic create2 collision test cases. A minor framework bug fix is included which incorrectly updated the gas limit for blocks post genesis, after updating the field within the blockchain test envirionment.

Additional updates are below:

๐Ÿงช Test Cases

  • ๐Ÿž Adds dynamic create2 collision tests from different transactions same block for EIP-6780 (#430).
  • ๐Ÿž Fix beacon root contract deployment tests so the account in the pre-alloc is not empty (#425).
  • ๐Ÿ”€ All beacon root contract tests are now contained in tests/cancun/eip4788_beacon_root/test_beacon_root_contract.py, and all state tests have been converted back to blockchain tests format (#449)

๐Ÿ› ๏ธ Framework

  • โœจ Add Prague to forks (#419).
  • โœจ Improve handling of the argument passed to solc --evm-version when compiling Yul code (#418).
  • ๐Ÿž Fix fill -m yul_test which failed to filter tests that are (dynamically) marked as a yul test (#418).
  • ๐Ÿ”€ Helper methods to_address, to_hash and to_hash_bytes have been deprecated in favor of Address and Hash, which are automatically detected as opcode parameters and pushed to the stack in the resulting bytecode (#422).
  • โœจ Opcodes enum now contains docstrings with each opcode description, including parameters and return values, which show up in many development environments (#424) @ThreeHrSleep.
  • ๐Ÿ”€ Locally calculate state root for the genesis blocks in the blockchain tests instead of calling t8n (#450).
  • ๐Ÿž Fix bug that causes an exception during test collection because the fork parameter contains None (#452).
  • โœจ The _info field in the test fixtures now contains a hash field, which is the hash of the test fixture, and a hasher script has been added which prints and performs calculations on top of the hashes of all fixtures (see hasher -h) (#454).
  • โœจ Adds an optional verify_sync field to hive blockchain tests (EngineAPI). When set to true a second client attempts to sync to the first client that executed the tests (#431).
  • ๐Ÿž Fix manually setting the gas limit in the genesis test env for post genesis blocks in blockchain tests (#472).

๐Ÿ“‹ Misc

  • ๐Ÿž Fix deprecation warnings due to outdated config in recommended VS Code project settings (#420).
  • ๐Ÿž Fix typo in the selfdestruct revert tests module (#421).

New Contributors

Full Changelog: v2.1.0...v2.1.1

Don't miss a new execution-spec-tests release

NewReleases is sending notifications on new releases.