Type Alias CurrentSession

Source
pub type CurrentSession<T: Config> = StorageValue<_GeneratedPrefixForStorageCurrentSession<T>, SessionIndex, ValueQuery>;
Expand description

The current running session index.

Used to track session-aware operations such as:

  • Author points accumulation (AuthorPoints)
  • Reward and penalty distribution
  • Affidavit submission and election preparation

Storage type is [StorageValue] with value type SessionIndex.

Aliased Typeยง

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