Skip to content

Test BLOCKHASH

Documentation for tests/frontier/opcodes/test_blockhash.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/frontier/opcodes/test_blockhash.py --fork Amsterdam

Tests for BLOCKHASH opcode.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_genesis_hash_available blockchain_test 4 Verify BLOCKHASH returns genesis and block 1 hashes.