diff --git a/Cargo.lock b/Cargo.lock index 1ea9b2fda028f..540981e927229 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4816,7 +4816,7 @@ dependencies = [ "sp-runtime", "sp-sandbox", "sp-std", - "wasmi-validation", + "wasmi-validation 0.4.0", "wat", ] @@ -5768,6 +5768,12 @@ version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865" +[[package]] +name = "parity-wasm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" + [[package]] name = "parity-ws" version = "0.10.0" @@ -10804,7 +10810,7 @@ dependencies = [ "num-rational", "num-traits", "parity-wasm 0.41.0", - "wasmi-validation", + "wasmi-validation 0.3.0", ] [[package]] @@ -10816,6 +10822,15 @@ dependencies = [ "parity-wasm 0.41.0", ] +[[package]] +name = "wasmi-validation" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb8e860796d8be48efef530b60eebf84e74a88bce107374fffb0da97d504b8" +dependencies = [ + "parity-wasm 0.42.2", +] + [[package]] name = "wasmparser" version = "0.71.0" diff --git a/frame/contracts/Cargo.toml b/frame/contracts/Cargo.toml index 018a8a5df672e..7f9fa9f97667f 100644 --- a/frame/contracts/Cargo.toml +++ b/frame/contracts/Cargo.toml @@ -27,7 +27,7 @@ sp-runtime = { version = "3.0.0", default-features = false, path = "../../primit sp-io = { version = "3.0.0", default-features = false, path = "../../primitives/io" } sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" } sp-sandbox = { version = "0.9.0", default-features = false, path = "../../primitives/sandbox" } -wasmi-validation = { version = "0.3.0", default-features = false } +wasmi-validation = { version = "0.4.0", default-features = false } log = { version = "0.4.14", default-features = false } # Only used in benchmarking to generate random contract code