reth_evm::state_change

Function post_block_balance_increments

Source
pub fn post_block_balance_increments<ChainSpec, Block>(
    chain_spec: &ChainSpec,
    block: &Block,
) -> HashMap<Address, u128>
where ChainSpec: EthereumHardforks, Block: Block,
Expand description

Collect all balance changes at the end of the block.

Balance changes might include the block reward, uncle rewards, withdrawals, or irregular state changes (DAO fork).