Calls
noteStalled
Note that the current authority set of the GRANDPA finality gadget has stalled. This will trigger a forced authority set change at the beginning of the next session, to be enacteddelay
blocks after that. The delay
should be high enough to safely assume that the block signalling the forced change will not be re-orged e.g. 1000 blocks. The block production rate (which may be slowed down because of finality lagging) should be taken into account when choosing the delay
. The GRANDPA voters based on the new authority will start voting on top of best_finalized_block_number
for new finalized blocks. best_finalized_block_number
should be the highest of the latest finalized block of all validators of the new authority set.
Note: Only callable by root.
reportEquivocation
Report voter equivocation/misbehavior. This method will verify the equivocation proof and validate the given key ownership proof against the extracted offender. If both are valid, the offence will be reported. NamespacereportEquivocationUnsigned
Report voter equivocation/misbehavior. This method will verify the equivocation proof and validate the given key ownership proof against the extracted offender. If both are valid, the offence will be reported. This extrinsic must be called unsigned and it is expected that only block authors will call it (validated inValidateUnsigned
), as such if the block author is defined it will be defined as the equivocation reporter.
Namespace
Storage
currentSetId
The number of changes (both in terms of keys and underlying economic responsibilities) in the “set” of Grandpa validators from genesis. NamespacenextForced
next block number where we can force a change. NamespacependingChange
Pending change: (signaled at, scheduled change). NamespacesetIdSession
A mapping from grandpa set ID to the index of the most recent session for which its members were responsible. TWOX-NOTE:SetId
is not under user control.
Namespace
stalled
true
if we are currently stalled.
Namespace