async fn simulate<N: Network>(
provider: &RootProvider<N>,
requests: &[N::TransactionRequest],
block: u64,
per_call: bool,
) -> Result<Vec<SimCallResult>>where
N::TransactionRequest: FoundryTransactionBuilder<N> + Serialize,Expand description
Simulates requests in order on top of block, so that each runs on the state the ones
before it leave: all in one block, or each in a block of its own when per_call is set.