mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-06 10:51:07 +00:00
[EPM pallet]: remove number of signed submissions (#10945)
* [EPM pallet]: remove `number of signed submissions` Closing #9229 * fix tests * remove needless assert * Update frame/election-provider-multi-phase/src/lib.rs * cargo fmt Signed-off-by: Niklas <niklasadolfsson1@gmail.com> * fix grumbles * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs * drop `num_signed_submissions` in WeightInfo too * fix build Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
1 parent
d6a52c637c
commit
e6b6c8aac6
6 files changed
+101
-156
No files matched your search
@@ -343,11 +343,11 @@ impl multi_phase::weights::WeightInfo for DualMockWeightInfo {
|
||||
<() as multi_phase::weights::WeightInfo>::finalize_signed_phase_reject_solution()
|
||||
}
|
||||
}
|
||||
fn submit(c: u32) -> Weight {
|
||||
fn submit() -> Weight {
|
||||
if MockWeightInfo::get() {
|
||||
Zero::zero()
|
||||
} else {
|
||||
<() as multi_phase::weights::WeightInfo>::submit(c)
|
||||
<() as multi_phase::weights::WeightInfo>::submit()
|
||||
}
|
||||
}
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32) -> Weight {
|
||||
|
||||
Reference in new issue
Block a user