mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-22 18:39:55 +00:00
bench: Use _ instead of :: in auto-generated file names (#12332)
* Replace :: with _ in auto-generated file names Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
1 parent
b56c0e4cb6
commit
4bab1c72d9
3 files changed
+27
-14
No files matched your search
@@ -185,7 +185,7 @@ Then you can run a benchmark like so:
|
||||
```
|
||||
|
||||
This will output a file `pallet_name.rs` which implements the `WeightInfo` trait you should include
|
||||
in your pallet. Each blockchain should generate their own benchmark file with their custom
|
||||
in your pallet. Double colons `::` will be replaced with a `_` in the output name if you specify a directory. Each blockchain should generate their own benchmark file with their custom
|
||||
implementation of the `WeightInfo` trait. This means that you will be able to use these modular
|
||||
Substrate pallets while still keeping your network safe for your specific configuration and
|
||||
requirements.
|
||||
|
||||
Reference in new issue
Block a user