Type Alias ElectionPayloadOf

Source
pub type ElectionPayloadOf<T> = ElectionPayload<<T as SigningTypes>::Public>;
Expand description

Runtime-specialized payload type for author election execution.

This is a concrete alias of ElectionPayload using the runtime’s configured signing public key.

§Usage

  • Used by the pallet’s unsigned elect extrinsic.
  • Signed using the currently active affidavit key, which was rotated during the latest affidavit declaration.

§Design Notes

  • Ensures only authors who successfully completed affidavit declaration and key rotation can execute elections.
  • Binds election authorization strictly to the runtime’s configured signing scheme.

Aliased Type§

pub struct ElectionPayloadOf<T> {
    pub public: <T as SigningTypes>::Public,
}

Fields§

§public: <T as SigningTypes>::Public

Active affidavit public key authorizing election execution.