Skip to main content

create_backend

Function create_backend 

Source
fn create_backend(
    fork: &CreateFork,
    resolved: &Fork,
    block_env: &BlockEnv,
) -> Result<(SharedBackend<AnyNetwork, BlockEnv>, BackendHandler<AnyNetwork, BlockEnv>)>
Expand description

Creates the backend of a resolved fork.

This loads the disk cache of the fork block, so it only runs for a new fork ID.