mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Update Treasury Config to use Propotion of Council Members (#7235)
* Update treasury config to use propotion of council members * add `_5`
This commit is contained in:
@@ -37,7 +37,7 @@ use frame_support::traits::InstanceFilter;
|
||||
use codec::{Encode, Decode};
|
||||
use sp_core::{
|
||||
crypto::KeyTypeId,
|
||||
u32_trait::{_1, _2, _3, _4},
|
||||
u32_trait::{_1, _2, _3, _4, _5},
|
||||
OpaqueMetadata,
|
||||
};
|
||||
pub use node_primitives::{AccountId, Signature};
|
||||
@@ -639,12 +639,12 @@ impl pallet_treasury::Trait for Runtime {
|
||||
type ApproveOrigin = EnsureOneOf<
|
||||
AccountId,
|
||||
EnsureRoot<AccountId>,
|
||||
pallet_collective::EnsureMembers<_4, AccountId, CouncilCollective>
|
||||
pallet_collective::EnsureProportionAtLeast<_3, _5, AccountId, CouncilCollective>
|
||||
>;
|
||||
type RejectOrigin = EnsureOneOf<
|
||||
AccountId,
|
||||
EnsureRoot<AccountId>,
|
||||
pallet_collective::EnsureMembers<_2, AccountId, CouncilCollective>
|
||||
pallet_collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>
|
||||
>;
|
||||
type Tippers = Elections;
|
||||
type TipCountdown = TipCountdown;
|
||||
|
||||
Reference in New Issue
Block a user