Skip to main content

apply_state_overrides_with_state

Function apply_state_overrides_with_state 

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

Applies overrides and optionally records them for simulated state-root computation.