Test Transient Storage Regression¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_transient_storage_regression.py@343274cc.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_transient_storage_regression.py --fork Amsterdam
Tests for EIP-8038: State Access Gas Cost Increase.
Regression guard: EIP-8038 reprices persistent storage and account
access but must NOT touch transient storage. TLOAD and TSTORE
remain at their EIP-1153 cost of OPCODE_TLOAD / OPCODE_TSTORE
(100 each), unchanged by the persistent-storage repricing and distinct
from the (repriced) persistent COLD_STORAGE_WRITE.
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_transient_storage_gas_unchanged |
state_test | 1 | Measure TLOAD and TSTORE gas and confirm EIP-8038 left them |