Companion PR: add weightinfo for democracy (#1522)

* add weight for democracy

* update companion

* update companion

* remove democracy weight tests

* fix import

* fix name

* fix merge

* cargo update -p sp-io

* fix compile

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Guillaume Thiolliere
2020-08-04 21:17:23 +02:00
committed by GitHub
parent 73f09e5154
commit 106eee7bf1
8 changed files with 453 additions and 175 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ impl pallet_democracy::Trait for Runtime {
type PalletsOrigin = OriginCaller;
type MaxVotes = MaxVotes;
type OperationalPreimageOrigin = pallet_collective::EnsureMember<AccountId, CouncilCollective>;
type WeightInfo = ();
type WeightInfo = weights::pallet_democracy::WeightInfo;
}
parameter_types! {