Skip to main content

EIP7702_PER_AUTH_BASE_REGULAR

Constant EIP7702_PER_AUTH_BASE_REGULAR 

pub const EIP7702_PER_AUTH_BASE_REGULAR: u64 = _; // 7_816u64
Available on crate feature evm only.
Expand description

REGULAR_PER_AUTH_BASE_COST: the state-independent regular-gas base charged per EIP-7702 authorization at the intrinsic phase under EIP-2780 (ethereum/EIPs#11844).

AUTH_TUPLE_BYTES * TX_DATA_TOKEN_FLOOR + PRECOMPILE_ECRECOVER + COLD_ACCOUNT_ACCESS + 2 * WARM_ACCESS = 101*16 + 3,000 + 3,000 + 200 = 7,816. Covers the authorization’s calldata, the ECDSA recovery, the authority’s cold access, and the warm writes every authorization performs. The state-dependent remainder (ACCOUNT_WRITE and the new-account / delegation-bytes state gas) is charged at runtime, only for the authorities that incur it.