referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_sassafras::pallet::GenesisSlot

source ·
pub type GenesisSlot<T> = StorageValue<_GeneratedPrefixForStorageGenesisSlot<T>, Slot, ValueQuery>;
Expand description

First block slot number.

As the slots may not be zero-based, we record the slot value for the fist block. This allows to always compute relative indices for epochs and slots.

Storage type is [StorageValue] with value type Slot.

Aliased Type§

struct GenesisSlot<T>(/* private fields */);