--- 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 {