Companion for substrate/pull/7161 (#1739)

* Companion for https://github.com/paritytech/substrate/pull/7161

* Update weights

* Update tests

* remove weight tests

* Update weights using benchmarking machine

./substrate2/target/release/substrate benchmark --chain dev --steps 50 --repeat 20 --pallet pallet_elections_phragmen --extrinsic "*" --raw --execution=wasm --wasm-execution=compiled --output

* "Update Substrate"

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimani
2020-09-22 16:01:06 +02:00
committed by GitHub
parent 9b099a22ac
commit 04224aa4f6
8 changed files with 316 additions and 219 deletions
+1 -1
View File
@@ -459,7 +459,7 @@ impl pallet_elections_phragmen::Trait for Runtime {
type DesiredRunnersUp = DesiredRunnersUp;
type TermDuration = TermDuration;
type ModuleId = ElectionsPhragmenModuleId;
type WeightInfo = ();
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo;
}
parameter_types! {