pallet_domains

Type Alias ExecutionInbox

source
pub type ExecutionInbox<T: Config> = StorageNMap<_GeneratedPrefixForStorageExecutionInbox<T>, (NMapKey<Identity, DomainId>, NMapKey<Identity, DomainBlockNumberFor<T>>, NMapKey<Identity, BlockNumberFor<T>>), Vec<BundleDigest<T::DomainHash>>, ValueQuery>;
Expand description

A set of BundleDigest from all bundles that successfully submitted to the consensus block, these bundles will be used to construct the domain block and ExecutionInbox is used to:

  1. Ensure subsequent ERs of that domain block include all pre-validated extrinsic bundles
  2. Index the InboxedBundleAuthor and pruned its value when the corresponding ExecutionInbox is pruned

Storage type is [StorageNMap] with keys type (DomainId, DomainBlockNumberFor < T >, BlockNumberFor < T >) and value type Vec < BundleDigest < T :: DomainHash > >.

Aliased Typeยง

struct ExecutionInbox<T: Config>(/* private fields */);