Test Gas¶
Documentation for tests/prague/eip7702_set_code_tx/test_gas.py@ffe48572.
Generate fixtures for these test cases for Bogota with:
Tests related to gas of set-code transactions from EIP-7702.
Tests related to gas of set-code transactions from EIP-7702: Set EOA account code for one transaction.
Test Functions Overview¶
| Name | Type | Cases (Bogota) | Description |
|---|---|---|---|
test_gas_cost |
state_test | 33 | Test gas at the execution start of a set-code transaction in multiple |
test_account_warming |
state_test | 60 | Test warming of the authority and authorized accounts for set-code |
test_call_to_pre_authorized_oog |
state_test | 4 | Test additional cost of delegation contract access in call instructions. |
test_intrinsic_gas_cost |
state_test | 66 | Test sending a transaction with the exact intrinsic gas required and also |
test_self_set_code_cost |
state_test | 2 | Test set to code account access cost when it delegates to itself. |
test_tx_gas_limit_after_existing_authority_refund |
blockchain_test | 2 | Test that a transaction must fit the block gas left after an earlier |