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
@@ -10654,6 +10654,7 @@ dependencies = [
"parity-scale-codec",
"rustversion",
"sc-block-builder",
"scale-info",
"sp-api",
"sp-consensus",
"sp-core",