Expand description
Validator Set Announcer pallet.
Applies the validator set of each era locally and hands it to Config::Sender for the other
system chains. Meant for the chain that runs pallet-staking-async, typically Asset Hub.
§Overview
The runtime calls Pallet::announce when a new era becomes active. It stores the set in the
local pallet-validator-collators. If the receiver accepts it, the pallet hands the set to the
sender once for every destination in Config::Destinations and deposits
Event::AnnouncementSent or Event::AnnouncementFailed for each. A set the receiver
rejects is reported with Event::AnnouncementRejected and not sent. Acceptance by the sender
means the message was queued for delivery. Execution on the destination is not acknowledged.
The pallet holds no storage. A failed send is not retried: every error an HRMP enqueue can return persists for the rest of the era, and the next era’s announcement carries the full set again.
Re-exports§
pub use pallet::*;
Modules§
- pallet
- The
palletmodule in each FRAME pallet hosts the most important items needed to construct this pallet. - weights
- Default weights for
pallet_validator_set_announcer.
Traits§
- Send
Validator Set - Sends a validator set to one destination.
Type Aliases§
- Destination
Of - The destination type of the configured sender.