Add verification of SignedBatch to the in-instructions pallet

This commit is contained in:
Luke Parker
2025-12-09 03:00:32 -05:00
parent 5e39f9bc1e
commit f94b7ca50e
7 changed files with 149 additions and 6 deletions

View File

@@ -345,6 +345,14 @@ mod pallet {
Ok(())
}
/// Have the latest decided session become the current session.
///
/// This is restricted to `ExternalNetworkId` as this process happens internally for
/// `NetworkId::Serai`.
pub fn accept_handover(network: ExternalNetworkId) {
Abstractions::<T>::accept_handover(network.into());
}
/* TODO
pub fn distribute_block_rewards(
network: NetworkId,