test_blockhash()¶
Documentation for tests/benchmark/compute/instruction/test_block_context.py::test_blockhash@8db70f93.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/compute/instruction/test_block_context.py::test_blockhash --gas-benchmark-values 1
Benchmark BLOCKHASH instruction accessing oldest allowed block.
Source code in tests/benchmark/compute/instruction/test_block_context.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
Parametrized Test Cases¶
This test generates 5 parametrized test cases across 3 forks.