Expand description
Fork registry: which backing databases exist, which one is active, and the accepted state each inactive one resumes with.
Re-exportsΒ§
use super::AcceptedView;πuse super::BackingDb;πuse super::EvmEnv;πuse super::SendableExt;πuse super::StoredExt;πuse crate::fork::Fork;πuse crate::fork::ForkId;πuse alloy_eips::BlockNumHash;πuse alloy_primitives::Address;πuse alloy_primitives::B256;πuse alloy_primitives::U256;πuse alloy_primitives::map::AddressMap;πuse alloy_primitives::map::AddressSet;πuse alloy_primitives::map::HashMap;πuse alloy_primitives::map::HashSet;πuse evm2::EvmFeatures;πuse evm2::evm::Cache;πuse std::collections::BTreeMap;πuse std::fmt;πuse std::mem;πuse std::sync::Arc;π
StructsΒ§
- Fork
Entry - A registered fork.
- Fork
Info - Identity of a fork as Foundry users see it: its RPC endpoint and pinned block.
- Fork
Registry - Registered forks, the local context, the active selection and persistent accounts.
- Parked
- An execution context that is not running: its backing database, environment, network extension state and accepted state.
EnumsΒ§
- Fork
Position - Canonical chain position of a forkβs accepted state.
FunctionsΒ§
- copy_
account π - Copies the account info and code of
addressfromsourceintotarget, ifsourceholds the account.