Skip to content
Commit 8a9961b4 authored by Ayevbeosa Iyamu's avatar Ayevbeosa Iyamu Committed by GitHub
Browse files

Recovery Pallet benchmarking (#11176)



* Created benchmarks

* Added recovery benchmarks

* benchmark for `create_recovery`

* benchmark for `initiate_recovery`

* benchmark for `vouch_recovery`

* benchmark for `claim_recovery`

* benchmark for `close_recovery`

* benchmark for `remove_recovery`

* benchmark for `cancel_recovered`

* benchmark for `as_recovered`

* Some refactoring

* Some refactoring

* Fix create_recovery benchmark

* fix close_recovery benchmark test

* fixed issues with failing tests

* Update frame/recovery/src/benchmarking.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* removed repetitive code

* create weights file

* Used weights to annotate extrinsics

* Added WeightInfo implementation to mock

* Beauty fixes

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Update frame/recovery/src/benchmarking.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update frame/recovery/src/benchmarking.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Set vec to be mut

* set delay_period to use non-zero amount

* set delay default

* Add weights

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
parent 9cdde52c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment