Test Access List Cost¶
Documentation for tests/amsterdam/eip7981_increase_access_list_cost/test_access_list_cost.py@c74f1a67.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7981_increase_access_list_cost/test_access_list_cost.py --fork Amsterdam
abstract: Tests for access list cost calculations in EIP-7981: Increase Access List Cost.
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_access_list_floor_cost_with_calldata |
state_test | 8 | Test that the floor cost correctly accounts for both access list |
test_access_list_token_calculation |
state_test | 24 | Test that access list floor tokens are calculated correctly. |
test_duplicate_access_list_entries |
state_test | 4 | Test that duplicate access list entries are charged multiple times. |
test_large_access_list_cost |
state_test | 4 | Test gas costs for large access lists. |