Skip to content

Commit

Permalink
council can't setMemebers of the Technical commeteed
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Sep 19, 2024
1 parent bce43e3 commit b5fc79a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/laos/src/configs/collective.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{weights, AccountId, BlockNumber, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin};
use frame_support::{pallet_prelude::Weight, parameter_types, traits::EitherOfDiverse};
use frame_support::{pallet_prelude::Weight, parameter_types};
use frame_system::EnsureRoot;
use laos_primitives::RuntimeBlockWeights;
use parachains_common::{DAYS, MINUTES};
Expand Down Expand Up @@ -50,7 +50,7 @@ impl pallet_collective::Config<TechnicalCommittee> for Runtime {
type Proposal = RuntimeCall;
type RuntimeEvent = RuntimeEvent;
type RuntimeOrigin = RuntimeOrigin;
// the root or a turnout of 50%+1 of the council can select the technical committee
type SetMembersOrigin = EitherOfDiverse<EnsureRoot<AccountId>, CouncilMajority>;
// the root can select the technical committee
type SetMembersOrigin = EnsureRoot<AccountId>;
type WeightInfo = weights::pallet_collective::WeightInfo<Runtime>;
}

0 comments on commit b5fc79a

Please sign in to comment.