Collectives: alliance and collective pallets weights (#1813)

* Collectives: alliance and collective pallets weights

* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_collective

* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_alliance

Co-authored-by: command-bot <>
This commit is contained in:
Muharem Ismailov
2022-11-08 16:05:03 +01:00
committed by GitHub
parent 8ff6689b59
commit 6b0466cdf6
4 changed files with 363 additions and 97 deletions
@@ -446,7 +446,7 @@ impl pallet_collective::Config<AllianceCollective> for Runtime {
type MaxProposals = ConstU32<ALLIANCE_MAX_PROPOSALS>;
type MaxMembers = ConstU32<ALLIANCE_MAX_MEMBERS>;
type DefaultVote = pallet_collective::MoreThanMajorityThenPrimeDefaultVote;
type WeightInfo = pallet_collective::weights::SubstrateWeight<Runtime>;
type WeightInfo = weights::pallet_collective::WeightInfo<Runtime>;
}
pub const MAX_FOUNDERS: u32 = 10;
@@ -485,7 +485,7 @@ impl pallet_alliance::Config for Runtime {
type MaxAnnouncementsCount = ConstU32<100>;
type MaxMembersCount = ConstU32<ALLIANCE_MAX_MEMBERS>;
type AllyDeposit = AllyDeposit;
type WeightInfo = pallet_alliance::weights::SubstrateWeight<Runtime>;
type WeightInfo = weights::pallet_alliance::WeightInfo<Runtime>;
}
// Create the runtime by composing the FRAME pallets that were previously configured.