Skip to main content

Module eip8037

Module eip8037 

Source
Expand description

EIP-8037: State Creation Gas Cost Increase

Introduces a reservoir model that separates state gas (storage/code/account creation) from regular execution gas. State-gas charges are expressed as a number of “state bytes” that get multiplied by cost_per_state_byte (CPSB). In Glamsterdam, CPSB is fixed at 1530.

Constants§

AUTH_BASE_BYTES
State bytes charged per EIP-7702 authorization base cost.
CODE_DEPOSIT_PER_BYTE
State bytes charged per byte of deployed code.
CPSB_GLAMSTERDAM
Cost per state byte (CPSB) for Glamsterdam.
NEW_ACCOUNT_BYTES
State bytes charged when creating a new account.
SSTORE_SET_BYTES
State bytes charged per SSTORE 0→non-zero.