v2.1.1
ποΈ 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
andto_hash_bytes
have been deprecated in favor ofAddress
andHash
, 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 ahash
field, which is the hash of the test fixture, and ahasher
script has been added which prints and performs calculations on top of the hashes of all fixtures (seehasher -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
- @cristiantroy made their first contribution in #421
- @SamWilsn made their first contribution in #451
- @ThreeHrSleep made their first contribution in #424
Full Changelog: v2.1.0...v2.1.1