reth_cli_commands::init_state::without_evm

Function setup_without_evm

Source
pub fn setup_without_evm<Provider>(
    provider_rw: &Provider,
    header: SealedHeader<<Provider::Primitives as NodePrimitives>::BlockHeader>,
    total_difficulty: U256,
) -> Result<(), Error>
where Provider: StaticFileProviderFactory<Primitives: NodePrimitives<BlockHeader = Header>> + StageCheckpointWriter + BlockWriter<Block = <Provider::Primitives as NodePrimitives>::Block>,
Expand description

Creates a dummy chain (with no transactions) up to the last EVM block and appends the first valid block.