Module state_change
Expand description
State changes that are not related to transactions.
Functions§
- balance_
increment_ state - Creates an
EvmState
from a map of balance increments and the current state to load accounts from. No balance increment is done in the function. Zero balance increments are ignored and won’t create state entries. - insert_
post_ block_ withdrawals_ balance_ increments - Applies all withdrawal balance increments if shanghai is active at the given timestamp to the
given
balance_increments
map. - post_
block_ balance_ increments - Collect all balance changes at the end of the block.
- post_
block_ withdrawals_ balance_ increments - Returns a map of addresses to their balance increments if the Shanghai hardfork is active at the given timestamp.