From 32f0db7c9a70c381d474aedf22be533f7500ddb5 Mon Sep 17 00:00:00 2001 From: nuno Date: Wed, 1 Nov 2023 12:22:16 +0100 Subject: [PATCH] drop more todos --- runtime/altair/src/lib.rs | 1 - runtime/centrifuge/src/lib.rs | 4 +--- runtime/development/src/lib.rs | 5 +---- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/runtime/altair/src/lib.rs b/runtime/altair/src/lib.rs index 8c279a165c..e339475917 100644 --- a/runtime/altair/src/lib.rs +++ b/runtime/altair/src/lib.rs @@ -1334,7 +1334,6 @@ impl pallet_membership::Config for Runtime { } parameter_types! { - //todo(nuno): check this value pub const MaxFeedValues: u32 = 10; } diff --git a/runtime/centrifuge/src/lib.rs b/runtime/centrifuge/src/lib.rs index bd50f85bab..8fa435258f 100644 --- a/runtime/centrifuge/src/lib.rs +++ b/runtime/centrifuge/src/lib.rs @@ -470,7 +470,6 @@ impl pallet_balances::Config for Runtime { /// The minimum amount required to keep an account open. type ExistentialDeposit = ExistentialDeposit; type FreezeIdentifier = (); - //todo(nuno) type HoldIdentifier = (); type MaxFreezes = (); type MaxHolds = frame_support::traits::ConstU32<1>; @@ -821,7 +820,7 @@ parameter_types! { pub const DesiredRunnersUp: u32 = 9; pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; // todo(nuno) - pub const MaxVotesPerVoter: u32 = 5; + pub const MaxVotesPerVoter: u32 = 20; } // Make sure that there are no more than `MAX_MEMBERS` members elected via @@ -1684,7 +1683,6 @@ impl pallet_membership::Config for Runtime { } parameter_types! { - //todo(nuno): check this value pub const MaxFeedValues: u32 = 10; } diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index fcf7cd534c..162df9ce55 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -337,7 +337,6 @@ impl pallet_balances::Config for Runtime { /// The minimum amount required to keep an account open. type ExistentialDeposit = ExistentialDeposit; type FreezeIdentifier = (); - //todo(nuno) type HoldIdentifier = (); type MaxFreezes = (); type MaxHolds = frame_support::traits::ConstU32<1>; @@ -691,8 +690,7 @@ parameter_types! { pub const DesiredMembers: u32 = 7; pub const DesiredRunnersUp: u32 = 3; pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; - // todo(nuno) - pub const MaxVotesPerVoter: u32 = 5; + pub const MaxVotesPerVoter: u32 = 20; } // Make sure that there are no more than `MAX_MEMBERS` members elected via @@ -1318,7 +1316,6 @@ impl pallet_membership::Config for Runtime { } parameter_types! { - //todo(nuno): check this value pub const MaxFeedValues: u32 = 10; }