Skip to main content

Module evm

Module evm 

Source
Expand description

CLI arguments for configuring the EVM settings.

Re-exportsยง

use crate::opts::RpcCommonOpts; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::U256; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use foundry_common::shell; ๐Ÿ”’
use foundry_config::Chain; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use foundry_config::FoundryHardfork; ๐Ÿ”’
use foundry_config::figment; ๐Ÿ”’
use foundry_config::figment::Metadata; ๐Ÿ”’
use foundry_config::figment::Profile; ๐Ÿ”’
use foundry_config::figment::Provider; ๐Ÿ”’
use foundry_config::figment::error::Kind::InvalidType; ๐Ÿ”’
use foundry_config::figment::value::Dict; ๐Ÿ”’
use foundry_config::figment::value::Map; ๐Ÿ”’
use foundry_config::figment::value::Value; ๐Ÿ”’
use foundry_evm_networks::NetworkConfigs; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’

Structsยง

EnvArgs
Configures the executor environment during tests.
EvmArgs
EvmArgs and EnvArgs take the highest precedence in the Config/Figment hierarchy.

Functionsยง

id ๐Ÿ”’
We have to serialize chain IDs and not names because when extracting an EVM Env, it expects chain_id to be u64.