You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not make pallet-identity benchmarks signature-dependent (#8179)
Similar to #4756 for `pallet-nfts`, the changes proposed in this PR
intend to make benchmarks for `pallet-identity` signature-agnostic by
the inclusion of a benchmark helper with sane defaults to handle the
signing operations.
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
3
+
4
+
title: Do not make pallet-identity benchmarks signature-dependent
5
+
6
+
doc:
7
+
- audience: Runtime Dev
8
+
description: |
9
+
- Includes a `BenchmarkHelper` configuration item in `pallet-identity` to handle signing operations.
10
+
- Abstracts away the explicit link with Sr25519 schema in the benchmarks, allowing chains with a different one to be able to run them and calculate the weights.
11
+
- Adds a default implementation for the empty tuple that leaves the code equivalent.
12
+
13
+
Adding the following to your implementation of the `frame_identity::Config` should be enough:
0 commit comments