Add function for embedding the runtime version in a wasm blob (#9277)

* Add function for embedding the runtime version in a wasm blob

This function can be used to add the custom section to a wasm blob with
the runtime version in it.

* Review nitpick
This commit is contained in:
Bastian Köcher
2021-07-06 12:41:27 +02:00
committed by GitHub
parent 279ff4b6e6
commit f781dcaf2c
6 changed files with 98 additions and 0 deletions
+3
View File
@@ -7478,6 +7478,7 @@ dependencies = [
"sp-core",
"sp-externalities",
"sp-io",
"sp-maybe-compressed-blob",
"sp-panic-handler",
"sp-runtime",
"sp-runtime-interface",
@@ -9444,10 +9445,12 @@ version = "3.0.0"
dependencies = [
"impl-serde",
"parity-scale-codec",
"parity-wasm 0.42.2",
"serde",
"sp-runtime",
"sp-std",
"sp-version-proc-macro",
"thiserror",
]
[[package]]