subscan
Runtime Modules / InactivityTracking
Spec Version:
Events
Name
Lookup
Attributes
ActivityTrackingStatusSet2300["ActivityTrackingStatus"]
CollatorStatusUpdated2301["Collator","bool"]
Storage Functions
Name
Type
CurrentActivityTrackingStatus{"origin":"PlainType","plain_type":"pallet_inactivity_tracking:pallet:ActivityTrackingStatus","PlainTypeValue":128}
InactiveCollators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<AccountId>","keys_id":4,"value_id":712}}
ActiveCollatorsForCurrentSession{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":712}
ActiveContainerChainsForCurrentSession{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":191}
EnableMarkingOffline{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":8}
OfflineCollators{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Bool","keys_id":0,"value_id":8}}
Constants
Name
Type
Value
MaxInactiveSessionsU3205000000
MaxCollatorsPerSessionU3264000000
MaxContainerChainsU3264000000
Error Types
Name
Docs
MaxCollatorsPerSessionReachedThe size of a collator set for a session has already reached MaxCollatorsPerSession value
MaxContainerChainsReachedThe size of a chains set for a session has already reached MaxContainerChains value
ActivityTrackingStatusUpdateSuspendedError returned when the activity tracking status is attempted to be updated before the end session
ActivityTrackingStatusAlreadyEnabledError returned when the activity tracking status is attempted to be enabled when it is already enabled
ActivityTrackingStatusAlreadyDisabledError returned when the activity tracking status is attempted to be disabled when it is already disabled
MarkingOfflineNotEnabledError returned when the collator status is attempted to be set to offline when offline marking is disabled
CollatorNotEligibleCandidateError returned when the collator is not part of the sorted eligible candidates list
CollatorNotOnlineError returned when the collator status is attempted to be set to offline when it is already offline
CollatorNotOfflineError returned when the collator status is attempted to be set to online when it is already online
MarkingInvulnerableOfflineInvalidError returned when the collator attempted to be set offline is invulnerable
CollatorCannotBeNotifiedAsInactiveError returned when the collator attempted to be set offline is not inactive