Skip to main content

EIP7702_PER_EMPTY_ACCOUNT_REGULAR

Constant EIP7702_PER_EMPTY_ACCOUNT_REGULAR 

Source
pub const EIP7702_PER_EMPTY_ACCOUNT_REGULAR: u64 = _; // 15_816u64
Expand description

Regular-gas portion of EIP-7702 PER_EMPTY_ACCOUNT_COST under EIP-8038.

Per execution-specs, the regular per-auth charge is ACCOUNT_WRITE + REGULAR_PER_AUTH_BASE_COST, where REGULAR_PER_AUTH_BASE_COST = AUTH_TUPLE_BYTES * TX_DATA_TOKEN_FLOOR + PRECOMPILE_ECRECOVER + COLD_ACCOUNT_ACCESS + 2 * WARM_ACCESS. Evaluates to 8,000 + (101*16 + 3,000 + 3,000 + 200) = 8,000 + 7,816 = 15,816. (The per-auth state gas — NEW_ACCOUNT + AUTH_BASE — is charged separately.)