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

@@ -234,6 +234,11 @@ pub mod pallet {
Ok(())
}
/// Check if an external network was halted.
pub fn halted(network: ExternalNetworkId) -> bool {
Halted::<T>::contains_key(network)
}
}
/// An error from the `signals` pallet.