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:
Shawn Tabrizi
2020-10-01 03:18:32 +02:00
committed by GitHub
parent b54769a217
commit a56f90fa9a
+3 -3
View File
@@ -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;