foundry_evm_core::fork::multi

Function create_fork

Source
async fn create_fork(
    fork: CreateFork,
) -> Result<(ForkId, CreatedFork, BackendHandler<RetryBackoffService<RuntimeTransport>, Arc<RetryProvider>>)>
Expand description

Creates a new fork.

This will establish a new Provider to the endpoint and return the Fork Backend.