Companion for Recovery Pallet benchmarking #11176 (#5366)

* benchmarking for `pallet_recovery`

* Added WeightInfo implementation for pallet_recovery

* Update Cargo.lock

* Update Cargo.toml

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Ayevbeosa Iyamu
2022-04-26 14:09:03 +01:00
committed by GitHub
parent 39579ea87f
commit 7d0252784d
5 changed files with 191 additions and 169 deletions
+185 -169
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -211,6 +211,7 @@ runtime-benchmarks = [
"pallet-proxy/runtime-benchmarks", "pallet-proxy/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks",
"pallet-society/runtime-benchmarks", "pallet-society/runtime-benchmarks",
"pallet-recovery/runtime-benchmarks",
"pallet-staking/runtime-benchmarks", "pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-tips/runtime-benchmarks", "pallet-tips/runtime-benchmarks",
+2
View File
@@ -1023,6 +1023,7 @@ parameter_types! {
impl pallet_recovery::Config for Runtime { impl pallet_recovery::Config for Runtime {
type Event = Event; type Event = Event;
type WeightInfo = ();
type Call = Call; type Call = Call;
type Currency = Balances; type Currency = Balances;
type ConfigDepositBase = ConfigDepositBase; type ConfigDepositBase = ConfigDepositBase;
@@ -1583,6 +1584,7 @@ mod benches {
[pallet_offences, OffencesBench::<Runtime>] [pallet_offences, OffencesBench::<Runtime>]
[pallet_preimage, Preimage] [pallet_preimage, Preimage]
[pallet_proxy, Proxy] [pallet_proxy, Proxy]
[pallet_recovery, Recovery]
[pallet_scheduler, Scheduler] [pallet_scheduler, Scheduler]
[pallet_session, SessionBench::<Runtime>] [pallet_session, SessionBench::<Runtime>]
[pallet_staking, Staking] [pallet_staking, Staking]
+1
View File
@@ -197,6 +197,7 @@ runtime-benchmarks = [
"pallet-multisig/runtime-benchmarks", "pallet-multisig/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks", "pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks", "pallet-proxy/runtime-benchmarks",
"pallet-recovery/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks",
"pallet-society/runtime-benchmarks", "pallet-society/runtime-benchmarks",
"pallet-staking/runtime-benchmarks", "pallet-staking/runtime-benchmarks",
+2
View File
@@ -662,6 +662,7 @@ parameter_types! {
impl pallet_recovery::Config for Runtime { impl pallet_recovery::Config for Runtime {
type Event = Event; type Event = Event;
type WeightInfo = ();
type Call = Call; type Call = Call;
type Currency = Balances; type Currency = Balances;
type ConfigDepositBase = ConfigDepositBase; type ConfigDepositBase = ConfigDepositBase;
@@ -1136,6 +1137,7 @@ mod benches {
[pallet_offences, OffencesBench::<Runtime>] [pallet_offences, OffencesBench::<Runtime>]
[pallet_preimage, Preimage] [pallet_preimage, Preimage]
[pallet_proxy, Proxy] [pallet_proxy, Proxy]
[pallet_recovery, Recovery]
[pallet_scheduler, Scheduler] [pallet_scheduler, Scheduler]
[pallet_session, SessionBench::<Runtime>] [pallet_session, SessionBench::<Runtime>]
[pallet_staking, Staking] [pallet_staking, Staking]