Files
pezkuwi-subxt/prdoc/1.8.0/pr_3244.prdoc
T
Egor_P 59b2661444 [Backport] Node version and spec_version bumps and ordering of the prdoc files from 1.8.0 (#3508)
This PR backports Node version and `spec_version` bumps to `1.8.0` from
the latest release and orders prdoc files related to it.
2024-03-01 08:51:53 +00:00

19 lines
614 B
Plaintext

title: "Make the `benchmark pallet` command only require a Hasher"
doc:
- audience: Node Dev
description: |
Currently the `benchmark pallet` command requires a `Block` type, while only using its hasher.
Now this is changed to only require the hasher. This means to use `HashingFor<Block>` in the
place where `Block` was required.
Example patch for your node with `cmd` being `BenchmarkCmd::Pallet(cmd)`:
```patch
- cmd.run::<Block, ()>(config)
+ cmd.run::<HashingFor<Block>, ()>(config)
```
crates:
- name: sc-client-db
- name: frame-benchmarking-cli