Test Block Access Lists Pointer Chase¶
Documentation for tests/benchmark/stateful/eip7928_block_level_access_lists/test_block_access_lists_pointer_chase.py@20373115.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/stateful/eip7928_block_level_access_lists/test_block_access_lists_pointer_chase.py --gas-benchmark-values 1
Tests for EIP-7928 BAL with dependent pointer-chasing SLOADs.
Deploys a contract with linked-list storage (slot[i] = i+1) that reads its starting position from CURSOR_SLOT. Each transaction follows the chain while remaining gas exceeds a threshold, then writes the final chased value back to CURSOR_SLOT, creating inter-transaction dependencies.
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_bal_max_pointer_chase |
benchmark_test | 1 | Test BAL with maximum dependent pointer-chasing SLOADs. |