Skip to content

v2.1.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Mar 04:31
· 58 commits to main since this release
c006517

πŸ–οΈ 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