Skip to content

Commit

Permalink
Collectives: alliance and collective pallets weights (#1813)
Browse files Browse the repository at this point in the history
* 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 <>
  • Loading branch information
muharem authored Nov 8, 2022
1 parent 981b5d0 commit 1e7948e
Show file tree
Hide file tree
Showing 4 changed files with 362 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ pub mod block_weights;
pub mod cumulus_pallet_xcmp_queue;
pub mod extrinsic_weights;
pub mod frame_system;
pub mod pallet_alliance;
pub mod pallet_balances;
pub mod pallet_collator_selection;
pub mod pallet_collective;
pub mod pallet_multisig;
pub mod pallet_proxy;
pub mod pallet_session;
Expand Down
Loading

0 comments on commit 1e7948e

Please sign in to comment.