Struct revm::CfgEnv [−][src]
pub struct CfgEnv {
pub chain_id: U256,
pub spec_id: SpecId,
pub perf_all_precompiles_have_balance: bool,
}
Fields
chain_id: U256
spec_id: SpecId
perf_all_precompiles_have_balance: bool
if all precompiles have some balance we can ignore initial fetching them from db. this is clearly making noice if we use debugger and it is not really needed on mainnet. default is false in most cases it is safe to be set to true, it depends on chain.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CfgEnv
impl UnwindSafe for CfgEnv
Blanket Implementations
Mutably borrows from an owned value. Read more