Function apply_state_overrides
pub fn apply_state_overrides<DB>(
overrides: HashMap<Address, AccountOverride, FbBuildHasher<20>>,
db: &mut DB,
) -> Result<(), StateOverrideError<<DB as Database>::Error>>where
DB: Database + DatabaseCommit,
Available on crate feature
evm
only.Expand description
Applies the given state overrides (a set of AccountOverride
) to the database.