Test Gas¶
Documentation for tests/prague/eip7702_set_code_tx/test_gas.py@206854b5
.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip7702_set_code_tx/test_gas.py --fork Prague
Tests related to gas of set-code transactions from EIP-7702: Set EOA account code for one transaction
Tests related to gas of set-code transactions from EIP-7702: Set EOA account code for one transaction.
Test Functions Overview¶
Name | Type | Cases (Prague) | Description |
---|---|---|---|
test_gas_cost |
state_test | 30 | Test gas at the execution start of a set-code transaction in multiple scenarios. |
test_account_warming |
state_test | 54 | Test warming of the authority and authorized accounts for set-code transactions. |
test_intrinsic_gas_cost |
state_test | 60 | Test sending a transaction with the exact intrinsic gas required and also insufficient |
test_self_set_code_cost |
state_test | 2 | Test set to code account access cost when it delegates to itself. |