diff --git a/runtime/local/src/lib.rs b/runtime/local/src/lib.rs index 6f31582b1d..fceacfc7de 100644 --- a/runtime/local/src/lib.rs +++ b/runtime/local/src/lib.rs @@ -1113,7 +1113,9 @@ impl InstanceFilter for CommunityCouncilCallFilter { fn filter(&self, c: &RuntimeCall) -> bool { matches!( c, - RuntimeCall::DappStaking(..) | RuntimeCall::System(frame_system::Call::remark { .. }) + RuntimeCall::DappStaking(..) + | RuntimeCall::System(frame_system::Call::remark { .. }) + | RuntimeCall::Utility(..) ) } } diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 3b190a910b..88ff14c231 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -438,9 +438,9 @@ impl pallet_dapp_staking_v3::Config for Runtime { type RuntimeFreezeReason = RuntimeFreezeReason; type Currency = Balances; type SmartContract = SmartContract; - type ContractRegisterOrigin = frame_system::EnsureRoot; + type ContractRegisterOrigin = EnsureRootOrTwoThirdsCommunityCouncil; type ContractUnregisterOrigin = frame_system::EnsureRoot; - type ManagerOrigin = frame_system::EnsureRoot; + type ManagerOrigin = EnsureRootOrTwoThirdsTechnicalCommittee; type NativePriceProvider = PriceAggregator; type StakingRewardHandler = Inflation; type CycleConfiguration = InflationCycleConfig; @@ -1441,7 +1441,9 @@ impl InstanceFilter for CommunityCouncilCallFilter { fn filter(&self, c: &RuntimeCall) -> bool { matches!( c, - RuntimeCall::DappStaking(..) | RuntimeCall::System(frame_system::Call::remark { .. }) + RuntimeCall::DappStaking(..) + | RuntimeCall::System(frame_system::Call::remark { .. }) + | RuntimeCall::Utility(..) ) } }