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.