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.