pallet_shards::pallet

Type Alias ShardState

Source
pub type ShardState<T: Config> = StorageMap<_GeneratedPrefixForStorageShardState<T>, Blake2_128Concat, ShardId, ShardStatus, OptionQuery>;
Expand description

Maps ShardId to ShardStatus indicating the status of each shard.

Storage type is [StorageMap] with key type ShardId and value type ShardStatus.

Aliased Typeยง

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