pub async fn environment<N: Network, T: Transport + Clone, P: Provider<T, N>>(
provider: &P,
memory_limit: u64,
gas_price: Option<u128>,
override_chain_id: Option<u64>,
pin_block: Option<u64>,
origin: Address,
disable_block_gas_limit: bool,
) -> Result<(Env, N::BlockResponse)>
Expand description
Initializes a REVM block environment based on a forked ethereum provider.