pallet_domains

Type Alias ExecutionReceiptOf

source
pub type ExecutionReceiptOf<T> = ExecutionReceipt<BlockNumberFor<T>, <T as Config>::Hash, DomainBlockNumberFor<T>, <T as Config>::DomainHash, <T as Config>::Balance>;

Aliased Type§

struct ExecutionReceiptOf<T> {
    pub domain_block_number: <<T as Config>::DomainHeader as Header>::Number,
    pub domain_block_hash: <T as Config>::DomainHash,
    pub domain_block_extrinsic_root: <T as Config>::DomainHash,
    pub parent_domain_block_receipt_hash: <T as Config>::DomainHash,
    pub consensus_block_number: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,
    pub consensus_block_hash: <T as Config>::Hash,
    pub inboxed_bundles: Vec<InboxedBundle<<T as Config>::DomainHash>>,
    pub final_state_root: <T as Config>::DomainHash,
    pub execution_trace: Vec<<T as Config>::DomainHash>,
    pub execution_trace_root: H256,
    pub block_fees: BlockFees<<T as Config>::Balance>,
    pub transfers: Transfers<<T as Config>::Balance>,
}

Fields§

§domain_block_number: <<T as Config>::DomainHeader as Header>::Number

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

§domain_block_hash: <T as Config>::DomainHash

The block hash corresponding to domain_block_number.

§domain_block_extrinsic_root: <T as Config>::DomainHash

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

§parent_domain_block_receipt_hash: <T as Config>::DomainHash

The hash of the ER for the last domain block.

§consensus_block_number: <<<T as Config>::Block as HeaderProvider>::HeaderT 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: <T as Config>::Hash

The block hash corresponding to consensus_block_number.

§inboxed_bundles: Vec<InboxedBundle<<T as Config>::DomainHash>>

All the bundles that being included in the consensus block.

§final_state_root: <T as Config>::DomainHash

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

Used for verifying storage proofs for domains.

§execution_trace: Vec<<T as Config>::DomainHash>

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<<T as Config>::Balance>

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

§transfers: Transfers<<T as Config>::Balance>

List of transfers from this Domain to other chains