Type Alias domain_client_operator::ExecutionReceiptFor

source ·
pub type ExecutionReceiptFor<Block, CBlock> = ExecutionReceipt<NumberFor<CBlock>, <CBlock as BlockT>::Hash, NumberFor<Block>, <Block as BlockT>::Hash, Balance>;

Aliased Type§

struct ExecutionReceiptFor<Block, CBlock> {
    pub domain_block_number: <<Block as Block>::Header as Header>::Number,
    pub domain_block_hash: <Block as Block>::Hash,
    pub domain_block_extrinsic_root: <Block as Block>::Hash,
    pub parent_domain_block_receipt_hash: <Block as Block>::Hash,
    pub consensus_block_number: <<CBlock as Block>::Header as Header>::Number,
    pub consensus_block_hash: <CBlock as Block>::Hash,
    pub inboxed_bundles: Vec<InboxedBundle<<Block as Block>::Hash>>,
    pub final_state_root: <Block as Block>::Hash,
    pub execution_trace: Vec<<Block as Block>::Hash>,
    pub execution_trace_root: H256,
    pub block_fees: BlockFees<u128>,
    pub transfers: Transfers<u128>,
}

Fields§

§domain_block_number: <<Block as Block>::Header as Header>::Number

The index of the current domain block that forms the basis of this ER.

§domain_block_hash: <Block as Block>::Hash

The block hash corresponding to domain_block_number.

§domain_block_extrinsic_root: <Block as Block>::Hash

Extrinsic root field of the header of domain block referenced by this ER.

§parent_domain_block_receipt_hash: <Block as Block>::Hash

The hash of the ER for the last domain block.

§consensus_block_number: <<CBlock as Block>::Header as Header>::Number

A pointer to the consensus block index which contains all of the bundles that were used to derive and order all extrinsics executed by the current domain block for this ER.

§consensus_block_hash: <CBlock as Block>::Hash

The block hash corresponding to consensus_block_number.

§inboxed_bundles: Vec<InboxedBundle<<Block as Block>::Hash>>

All the bundles that being included in the consensus block.

§final_state_root: <Block as Block>::Hash

The final state root for the current domain block reflected by this ER.

Used for verifying storage proofs for domains.

§execution_trace: Vec<<Block as Block>::Hash>

List of storage roots collected during the domain block execution.

§execution_trace_root: H256

The Merkle root of the execution trace for the current domain block.

Used for verifying fraud proofs.

§block_fees: BlockFees<u128>

Compute and Domain storage fees are shared across operators and Consensus storage fees are given to the consensus block author.

§transfers: Transfers<u128>

List of transfers from this Domain to other chains