pub type HrmpChannelDigests<T: Config> = StorageMap<_GeneratedPrefixForStorageHrmpChannelDigests<T>, Twox64Concat, ParaId, Vec<(BlockNumberFor<T>, Vec<ParaId>)>, ValueQuery>;
Expand description

Maintains a mapping that can be used to answer the question: What paras sent a message at the given block number for a given receiver. Invariants:

  • The inner Vec<ParaId> is never empty.
  • The inner Vec<ParaId> cannot store two same ParaId.
  • The outer vector is sorted ascending by block number and cannot store two items with the same block number.

Storage type is [StorageMap] with key type ParaId and value type Vec < (BlockNumberFor < T >, Vec < ParaId >) >.