From d9258db7c69002cb7860d9e69f28a19b7799d0a0 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 12 Aug 2022 12:48:18 +0000 Subject: [PATCH] fix(config): add missing config keys --- --- a/runtime/common/config/substrate.rs +++ b/runtime/common/config/substrate.rs @@ -15,7 +15,7 @@ // along with Unique Network. If not, see . use frame_support::{ - traits::{Everything, ConstU32}, + traits::{Everything, ConstU32, NeverEnsureOrigin}, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}, DispatchClass, ConstantMultiplier, @@ -186,6 +186,7 @@ type Currency = Balances; type ApproveOrigin = EnsureRoot; type RejectOrigin = EnsureRoot; + type SpendOrigin = NeverEnsureOrigin; type Event = Event; type OnSlash = (); type ProposalBond = ProposalBond; @@ -197,6 +198,7 @@ type SpendFunds = (); type WeightInfo = pallet_treasury::weights::SubstrateWeight; type MaxApprovals = MaxApprovals; + type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; } impl pallet_sudo::Config for Runtime { -- gitstuff