mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Add get_global for Sandbox (#4756)
* Add `get_global` for `Sandbox` This pr adds `get_global` to retrieve a `global` variable from an instantiated sandbox wasm blob. * Bump `spec_version` * Update primitives/wasm-interface/src/lib.rs Co-Authored-By: Sergei Pepyakin <sergei@parity.io> * `get_global` -> `get_global_val` Co-authored-by: Sergei Pepyakin <s.pepyakin@gmail.com> Co-authored-by: Gavin Wood <github@gavwood.com>
This commit is contained in:
@@ -6,7 +6,7 @@ edition = "2018"
|
||||
license = "GPL-3.0"
|
||||
|
||||
[dependencies]
|
||||
sp-wasm-interface = { version = "2.0.0", optional = true, path = "../wasm-interface" }
|
||||
sp-wasm-interface = { version = "2.0.0", path = "../wasm-interface", default-features = false }
|
||||
sp-std = { version = "2.0.0", default-features = false, path = "../std" }
|
||||
sp-runtime-interface-proc-macro = { version = "2.0.0", path = "proc-macro" }
|
||||
sp-externalities = { version = "0.8.0", optional = true, path = "../externalities" }
|
||||
@@ -25,7 +25,7 @@ trybuild = "1.0.17"
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"sp-wasm-interface",
|
||||
"sp-wasm-interface/std",
|
||||
"sp-std/std",
|
||||
"codec/std",
|
||||
"sp-externalities",
|
||||
|
||||
Reference in New Issue
Block a user