mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 04:11:09 +00:00
Use proper weights in the pallet-template (#13817)
* benchmarking to generate weights file * add the calculated weights in the extrinsics * use benchmarking v2 syntax to generate the weights * minor syntax change when benchmarking * added WeightInfo in the mock to pass tests * minor cargo fmt format changes
This commit is contained in:
@@ -20,6 +20,7 @@ scale-info = { version = "2.1.1", default-features = false, features = ["derive"
|
||||
frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, path = "../../../../frame/benchmarking" }
|
||||
frame-support = { version = "4.0.0-dev", default-features = false, path = "../../../../frame/support" }
|
||||
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../../../frame/system" }
|
||||
sp-std = { version = "5.0.0", default-features = false, path = "../../../../primitives/std" }
|
||||
|
||||
[dev-dependencies]
|
||||
sp-core = { version = "7.0.0", path = "../../../../primitives/core" }
|
||||
|
||||
Reference in New Issue
Block a user