Check origin? (#1718)

* Check origin?

* Removed ensure_signed

* clippy
This commit is contained in:
Branislav Kontur
2022-12-14 13:20:45 +01:00
committed by Bastian Köcher
parent bde1629f86
commit 52542b11d4
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -275,6 +275,7 @@ pub mod pallet {
parachain_heads_proof: ParaHeadsProof,
) -> DispatchResultWithPostInfo {
Self::ensure_not_halted().map_err(Error::<T, I>::BridgeModule)?;
// we'll need relay chain header to verify that parachains heads are always increasing.
let (relay_block_number, relay_block_hash) = at_relay_block;
let relay_block = pallet_bridge_grandpa::ImportedHeaders::<