Struct gekko::runtime::polkadot::extrinsics::grandpa::NoteStalled [−][src]
pub struct NoteStalled<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub delay: A,
pub best_finalized_block_number: B,
}
Expand description
Note that the current authority set of the GRANDPA finality gadget has
Documentation (provided by the runtime metadata)
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 enacted delay
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 GRANDPA voters
will start the new authority set using the given finalized block as base.
Only callable by root.
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
delay: A
Type description: T::BlockNumber
best_finalized_block_number: B
Type description: T::BlockNumber
Trait Implementations
impl<A: PartialEq, B: PartialEq> PartialEq<NoteStalled<A, B>> for NoteStalled<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A: PartialEq, B: PartialEq> PartialEq<NoteStalled<A, B>> for NoteStalled<A, B> where
A: Encode + Decode,
B: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A, B> StructuralPartialEq for NoteStalled<A, B> where
A: Encode + Decode,
B: Encode + Decode,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for NoteStalled<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for NoteStalled<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for NoteStalled<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for NoteStalled<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for NoteStalled<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.