diff --git a/Cargo.lock b/Cargo.lock index 53c42e08774b5..c4673041cb685 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1252,6 +1252,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" +[[package]] +name = "downcast-rs" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" + [[package]] name = "dyn-clonable" version = "0.9.0" @@ -9984,10 +9990,11 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf617d864d25af3587aa745529f7aaa541066c876d57e050c0d0c85c61c92aff" +checksum = "4bb6825d9b2147105789adb4c2d84b9b568719713f3ac39618b637b4dafc86c4" dependencies = [ + "downcast-rs", "errno", "libc", "memory_units", diff --git a/client/executor/Cargo.toml b/client/executor/Cargo.toml index c5ce4b86e12f5..56341bf085393 100644 --- a/client/executor/Cargo.toml +++ b/client/executor/Cargo.toml @@ -23,7 +23,7 @@ sp-trie = { version = "2.0.0", path = "../../primitives/trie" } sp-serializer = { version = "2.0.0", path = "../../primitives/serializer" } sp-version = { version = "2.0.0", path = "../../primitives/version" } sp-panic-handler = { version = "2.0.0", path = "../../primitives/panic-handler" } -wasmi = "0.6.2" +wasmi = "0.7.0" parity-wasm = "0.41.0" lazy_static = "1.4.0" sp-api = { version = "2.0.0", path = "../../primitives/api" } diff --git a/client/executor/common/Cargo.toml b/client/executor/common/Cargo.toml index 8501144a9a989..3eb71d281ae47 100644 --- a/client/executor/common/Cargo.toml +++ b/client/executor/common/Cargo.toml @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"] derive_more = "0.99.2" parity-wasm = "0.41.0" codec = { package = "parity-scale-codec", version = "1.3.4" } -wasmi = "0.6.2" +wasmi = "0.7.0" sp-core = { version = "2.0.0", path = "../../../primitives/core" } sp-allocator = { version = "2.0.0", path = "../../../primitives/allocator" } sp-wasm-interface = { version = "2.0.0", path = "../../../primitives/wasm-interface" } diff --git a/client/executor/wasmi/Cargo.toml b/client/executor/wasmi/Cargo.toml index bf174bca2d466..d3f47140adafd 100644 --- a/client/executor/wasmi/Cargo.toml +++ b/client/executor/wasmi/Cargo.toml @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] log = "0.4.8" -wasmi = "0.6.2" +wasmi = "0.7.0" codec = { package = "parity-scale-codec", version = "1.3.4" } sc-executor-common = { version = "0.8.0", path = "../common" } sp-wasm-interface = { version = "2.0.0", path = "../../../primitives/wasm-interface" } diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index d59bbad09e50b..398da3c87d0da 100644 --- a/primitives/core/Cargo.toml +++ b/primitives/core/Cargo.toml @@ -20,7 +20,7 @@ serde = { version = "1.0.101", optional = true, features = ["derive"] } byteorder = { version = "1.3.2", default-features = false } primitive-types = { version = "0.7.0", default-features = false, features = ["codec"] } impl-serde = { version = "0.3.0", optional = true } -wasmi = { version = "0.6.2", optional = true } +wasmi = { version = "0.7.0", optional = true } hash-db = { version = "0.15.2", default-features = false } hash256-std-hasher = { version = "0.15.2", default-features = false } base58 = { version = "0.1.0", optional = true } diff --git a/primitives/sandbox/Cargo.toml b/primitives/sandbox/Cargo.toml old mode 100755 new mode 100644 index 70ae56fb48108..b35a74fc8fd02 --- a/primitives/sandbox/Cargo.toml +++ b/primitives/sandbox/Cargo.toml @@ -13,7 +13,7 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -wasmi = { version = "0.6.2", optional = true } +wasmi = { version = "0.7.0", optional = true } sp-core = { version = "2.0.0", default-features = false, path = "../core" } sp-std = { version = "2.0.0", default-features = false, path = "../std" } sp-io = { version = "2.0.0", default-features = false, path = "../io" } diff --git a/primitives/wasm-interface/Cargo.toml b/primitives/wasm-interface/Cargo.toml index a85b6cd1d118a..620cda9de8787 100644 --- a/primitives/wasm-interface/Cargo.toml +++ b/primitives/wasm-interface/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -wasmi = { version = "0.6.2", optional = true } +wasmi = { version = "0.7.0", optional = true } impl-trait-for-tuples = "0.1.2" sp-std = { version = "2.0.0", path = "../std", default-features = false } codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }