Skip to main content

Module opts

Module opts 

Source

Re-exportsΒ§

use crate::EvmEnv; πŸ”’
use crate::FoundryBlock; πŸ”’
use crate::FoundryTransaction; πŸ”’
use crate::constants::DEFAULT_CREATE2_DEPLOYER; πŸ”’
use crate::fork::CreateFork; πŸ”’
use crate::fork::Fork; πŸ”’
use crate::utils::apply_chain_and_block_specific_env_changes_for_chain; πŸ”’
use crate::utils::block_env_from_header; πŸ”’
use alloy_consensus::BlockHeader; πŸ”’
use alloy_eips::BlockNumHash; πŸ”’
use alloy_network::AnyNetwork; πŸ”’
use alloy_network::BlockResponse; πŸ”’
use alloy_network::Network; πŸ”’
use alloy_network::primitives::HeaderResponse; πŸ”’
use alloy_primitives::Address; πŸ”’
use alloy_primitives::B256; πŸ”’
use alloy_primitives::BlockNumber; πŸ”’
use alloy_primitives::ChainId; πŸ”’
use alloy_primitives::U256; πŸ”’
use alloy_provider::Provider; πŸ”’
use alloy_provider::RootProvider; πŸ”’
use alloy_rpc_client::RpcClient; πŸ”’
use alloy_rpc_types::BlockNumberOrTag; πŸ”’
use alloy_rpc_types::anvil::Metadata; πŸ”’
use alloy_rpc_types::anvil::NodeInfo; πŸ”’
use eyre::OptionExt; πŸ”’
use eyre::WrapErr; πŸ”’
use foundry_common::ALCHEMY_FREE_TIER_CUPS; πŸ”’
use foundry_common::NON_ARCHIVE_NODE_WARNING; πŸ”’
use foundry_common::provider::ProviderBuilder; πŸ”’
use foundry_common::provider::is_rpc_method_not_found; πŸ”’
use foundry_compilers::artifacts::EvmVersion; πŸ”’
use foundry_config::Chain; πŸ”’
use foundry_config::Config; πŸ”’
use foundry_config::ExecutionSpec; πŸ”’
use foundry_config::FoundryHardfork; πŸ”’
use foundry_config::GasLimit; πŸ”’
use foundry_config::evm_spec_id; πŸ”’
use foundry_evm_networks::NetworkConfigs; πŸ”’
use foundry_evm_networks::NetworkVariant; πŸ”’
use revm::context::CfgEnv; πŸ”’
use revm::primitives::hardfork::SpecId; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Serialize; πŸ”’
use serde::Serialize; πŸ”’
use std::fmt::Write; πŸ”’
use url::Url; πŸ”’

StructsΒ§

AnvilNodeInfoProbe πŸ”’
Best-effort Anvil detection that becomes strict after positive identification.
Env
EvmOpts
EVM execution options, including the configured remote fork.
ForkContext
Endpoint identity paired with the remote block number backing a fork.
ForkEndpointIdentity
A snapshot of the execution and upstream-source identity exposed by an RPC endpoint.

EnumsΒ§

EndpointHardforkPolicy πŸ”’
ExecutionSpecContext
Describes how an execution spec should use a source chain’s hardfork schedule.

FunctionsΒ§

endpoint_hardfork πŸ”’
fork_endpoint_description πŸ”’
option_try_or_else πŸ”’
resolve_execution_spec
Resolves and applies the execution spec for an EVM environment.