Skip to content

Commit

Permalink
Refactor staking pallet benchmarks to v2 (#6025)
Browse files Browse the repository at this point in the history
# Description
This PR migrates the staking pallet's benchmarks to the `v2` of pallet
benchmarking tooling provided by
[`frame_benchmarking`](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame/benchmarking).

## Integration

N/A

## Review Notes

The PR is straightforward, as were #1676 , #1838 and #1868.

---------

Co-authored-by: Dónal Murray <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
  • Loading branch information
3 people authored Oct 16, 2024
1 parent b649f4a commit 9d78c51
Show file tree
Hide file tree
Showing 2 changed files with 403 additions and 241 deletions.
13 changes: 13 additions & 0 deletions prdoc/pr_6025.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json

title: Refactor staking pallet benchmarks to `v2`

doc:
- audience: Runtime Dev
description: |
Update benchmarks in staking pallet to the second version of the `frame_benchmarking` runtime benchmarking framework.

crates:
- name: pallet-staking
bump: patch
Loading

0 comments on commit 9d78c51

Please sign in to comment.