foundry_evm_core::backend

Function apply_state_changeset

Source
fn apply_state_changeset(
    state: HashMap<Address, Account>,
    journaled_state: &mut JournaledState,
    fork: &mut Fork,
    persistent_accounts: &HashSet<Address>,
) -> Result<(), BackendError>
Expand description

Applies the changeset of a transaction to the active journaled state and also commits it in the forked db