sp-api: Set correct where bound in the generated code (#14252)

The where bound for the `create_metadata` function wasn't correct. This pr fixes this by using the
where bound declared at the type declaration augmented with the manual where bound.
This commit is contained in:
Bastian Köcher
2023-05-29 11:26:38 +01:00
committed by GitHub
parent ee3f2e1ebd
commit 797e8c08bc
4 changed files with 56 additions and 5 deletions
+1
View File
@@ -23,6 +23,7 @@ codec = { package = "parity-scale-codec", version = "3.2.2" }
sp-state-machine = { version = "0.13.0", path = "../../state-machine" }
trybuild = "1.0.74"
rustversion = "1.0.6"
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
[dev-dependencies]
criterion = "0.4.0"