Test Block Hashes¶
Documentation for tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py@verkle@v0.0.5
.
Generate fixtures for these test cases for Prague with:
Prague only:
fill -v tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py --fork=Prague --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Prague:
fill -v tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py --until=Prague
Test Functions Overview¶
Name | Type | Cases | Description |
---|---|---|---|
test_block_hashes_history |
blockchain_test | 5 | Tests that block hashes are stored correctly at the system contract address after the fork |
test_invalid_history_contract_calls |
blockchain_test | 4 | Test calling the history contract with invalid block numbers, such as blocks from the future |