Skip to main content

apply_state_overrides

Function apply_state_overrides 

Source
pub fn apply_state_overrides<DB>(
    overrides: HashMap<Address, AccountOverride, FbBuildHasher<20>>,
    db: &mut CacheDB<DB>,
) -> Result<(), StateOverrideError<DatabaseError>>
where DB: DynDatabase,
Available on crate feature rpc only.
Expand description

Applies RPC state overrides to an evm2 state cache.