Skip to main content

create_fork

Function create_fork 

Source
async fn create_fork<N: Network, SPEC: Into<SpecId> + Default + Copy, BLOCK: FoundryBlock + ForkBlockEnv + Default>(
    fork: CreateFork,
) -> Result<(ForkId, CreatedFork<N, SPEC, BLOCK>, BackendHandler<N, BLOCK>)>
Expand description

Creates a new fork.

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