domain_client_operator::snap_sync

Trait LastDomainBlockReceiptProvider

source
pub trait LastDomainBlockReceiptProvider<Block: BlockT, CBlock: BlockT>: Sync + Send {
    // Required method
    fn get_execution_receipt<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Option<ExecutionReceiptFor<Block::Header, CBlock, Balance>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Provides execution receipts for the last confirmed domain block.

Required Methods§

source

fn get_execution_receipt<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Option<ExecutionReceiptFor<Block::Header, CBlock, Balance>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns execution receipts for the last confirmed domain block.

Implementations on Foreign Types§

source§

impl<Block: BlockT, CBlock: BlockT> LastDomainBlockReceiptProvider<Block, CBlock> for ()

source§

fn get_execution_receipt<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Option<ExecutionReceiptFor<Block::Header, CBlock, Balance>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§