pub(crate) async fn linear_chain_block<REv>(
    effect_builder: EffectBuilder<REv>,
    block: Block,
    execution_results: HashMap<DeployHash, (DeployHeader, ExecutionResult)>,
) where
    REv: From<ContractRuntimeAnnouncement>,
{
    effect_builder
        .schedule_regular(ContractRuntimeAnnouncement::LinearChainBlock(Box::new(
            LinearChainBlock {
                block,
                execution_results,
            },
        )))
        .await
}
/// Announce new block has been created.
Announce new block has been created.
Announce new block has been created .
pub(crate) async fn linear_chain_block<REv>(
    effect_builder: EffectBuilder<REv>,
    block: Block,
    execution_results: HashMap<DeployHash, (DeployHeader, ExecutionResult)>,
) where
    REv: From<ContractRuntimeAnnouncement>,
{
    effect_builder
        .schedule_regular(ContractRuntimeAnnouncement::LinearChainBlock(Box::new(
            LinearChainBlock {
                block,
                execution_results,
            },
        )))
        .await
}
pub ( crate ) async fn linear_chain_block < REv > ( effect_builder : EffectBuilder < REv > , block : Block , execution_results : HashMap < DeployHash , ( DeployHeader , ExecutionResult ) > , ) where REv : From < ContractRuntimeAnnouncement > , { effect_builder . schedule_regular ( ContractRuntimeAnnouncement :: LinearChainBlock ( Box :: new ( LinearChainBlock { block , execution_results , } , ) ) ) . await }
Announce new block has been created.
Announce new block has been created .
effect_builder
EffectBuilder<REv>
block
Block
execution_results
HashMap<DeployHash, (DeployHeader, ExecutionResult)>
effect_builder
EffectBuilder<REv>
block
Block
execution_results
HashMap<DeployHash, (DeployHeader, ExecutionResult)>