diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b53e617bd..3539db9a37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ There are several crates in this repo, this changelog will keep track of all of Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## [elrond-wasm 0.15.1] - 2021-04-30 +- Mitigating nested sync calls with Send API `execute_on_dest_context_raw_custom_result_range` + ## [elrond-wasm 0.15.0, elrond-codec 0.5.2] - 2021-04-19 - ABI - Constructor representation diff --git a/contracts/benchmarks/send-tx-repeat/Cargo.toml b/contracts/benchmarks/send-tx-repeat/Cargo.toml index 5a632717a6..04d39e4fb9 100644 --- a/contracts/benchmarks/send-tx-repeat/Cargo.toml +++ b/contracts/benchmarks/send-tx-repeat/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/benchmarks/send-tx-repeat/wasm/Cargo.toml b/contracts/benchmarks/send-tx-repeat/wasm/Cargo.toml index c28ef14c34..265eccd3bd 100644 --- a/contracts/benchmarks/send-tx-repeat/wasm/Cargo.toml +++ b/contracts/benchmarks/send-tx-repeat/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/benchmarks/str-repeat/Cargo.toml b/contracts/benchmarks/str-repeat/Cargo.toml index d7e02ff294..5afc7728cb 100644 --- a/contracts/benchmarks/str-repeat/Cargo.toml +++ b/contracts/benchmarks/str-repeat/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/benchmarks/str-repeat/wasm/Cargo.toml b/contracts/benchmarks/str-repeat/wasm/Cargo.toml index 51d1ef86ce..abd687cdd6 100644 --- a/contracts/benchmarks/str-repeat/wasm/Cargo.toml +++ b/contracts/benchmarks/str-repeat/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/adder/Cargo.toml b/contracts/examples/adder/Cargo.toml index 427565c9db..a743722b3b 100644 --- a/contracts/examples/adder/Cargo.toml +++ b/contracts/examples/adder/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/adder/abi/Cargo.toml b/contracts/examples/adder/abi/Cargo.toml index e1d0514c54..154b81141a 100644 --- a/contracts/examples/adder/abi/Cargo.toml +++ b/contracts/examples/adder/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/adder/wasm/Cargo.toml b/contracts/examples/adder/wasm/Cargo.toml index a56db20d2b..54637c4181 100644 --- a/contracts/examples/adder/wasm/Cargo.toml +++ b/contracts/examples/adder/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/crowdfunding-egld/Cargo.toml b/contracts/examples/crowdfunding-egld/Cargo.toml index 15c228b799..0470669dc5 100644 --- a/contracts/examples/crowdfunding-egld/Cargo.toml +++ b/contracts/examples/crowdfunding-egld/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/crowdfunding-egld/abi/Cargo.toml b/contracts/examples/crowdfunding-egld/abi/Cargo.toml index 8fe5d905e8..f8f9d5b63c 100644 --- a/contracts/examples/crowdfunding-egld/abi/Cargo.toml +++ b/contracts/examples/crowdfunding-egld/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crowdfunding-egld/wasm/Cargo.toml b/contracts/examples/crowdfunding-egld/wasm/Cargo.toml index e956622d28..fea36c4242 100644 --- a/contracts/examples/crowdfunding-egld/wasm/Cargo.toml +++ b/contracts/examples/crowdfunding-egld/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/crowdfunding-erc20/Cargo.toml b/contracts/examples/crowdfunding-erc20/Cargo.toml index e5f875dbb3..734b2152a2 100644 --- a/contracts/examples/crowdfunding-erc20/Cargo.toml +++ b/contracts/examples/crowdfunding-erc20/Cargo.toml @@ -15,19 +15,19 @@ wasm-output-mode = ["elrond-wasm-node"] path = "../erc20" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/crowdfunding-erc20/abi/Cargo.toml b/contracts/examples/crowdfunding-erc20/abi/Cargo.toml index 6b05889b17..d7ebbe2d09 100644 --- a/contracts/examples/crowdfunding-erc20/abi/Cargo.toml +++ b/contracts/examples/crowdfunding-erc20/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crowdfunding-erc20/wasm/Cargo.toml b/contracts/examples/crowdfunding-erc20/wasm/Cargo.toml index c3560576d9..076c9c2a20 100644 --- a/contracts/examples/crowdfunding-erc20/wasm/Cargo.toml +++ b/contracts/examples/crowdfunding-erc20/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/crowdfunding-esdt/Cargo.toml b/contracts/examples/crowdfunding-esdt/Cargo.toml index 5412ce5b4e..7ccaa880c1 100644 --- a/contracts/examples/crowdfunding-esdt/Cargo.toml +++ b/contracts/examples/crowdfunding-esdt/Cargo.toml @@ -12,19 +12,19 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/crowdfunding-esdt/abi/Cargo.toml b/contracts/examples/crowdfunding-esdt/abi/Cargo.toml index 50e0b07458..b10abb156f 100644 --- a/contracts/examples/crowdfunding-esdt/abi/Cargo.toml +++ b/contracts/examples/crowdfunding-esdt/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crowdfunding-esdt/wasm/Cargo.toml b/contracts/examples/crowdfunding-esdt/wasm/Cargo.toml index 8bd56a4a91..220a32965f 100644 --- a/contracts/examples/crowdfunding-esdt/wasm/Cargo.toml +++ b/contracts/examples/crowdfunding-esdt/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/crypto-bubbles/Cargo.toml b/contracts/examples/crypto-bubbles/Cargo.toml index 8620f3be45..ae9e072ea6 100644 --- a/contracts/examples/crypto-bubbles/Cargo.toml +++ b/contracts/examples/crypto-bubbles/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/crypto-bubbles/abi/Cargo.toml b/contracts/examples/crypto-bubbles/abi/Cargo.toml index 851d962aa3..77e8cd3657 100644 --- a/contracts/examples/crypto-bubbles/abi/Cargo.toml +++ b/contracts/examples/crypto-bubbles/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crypto-bubbles/wasm/Cargo.toml b/contracts/examples/crypto-bubbles/wasm/Cargo.toml index 923a3b6c2a..e2b2351fe3 100644 --- a/contracts/examples/crypto-bubbles/wasm/Cargo.toml +++ b/contracts/examples/crypto-bubbles/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/crypto-kitties/common/kitty/Cargo.toml b/contracts/examples/crypto-kitties/common/kitty/Cargo.toml index 7b48f901dc..c1f1cdfb03 100644 --- a/contracts/examples/crypto-kitties/common/kitty/Cargo.toml +++ b/contracts/examples/crypto-kitties/common/kitty/Cargo.toml @@ -9,11 +9,11 @@ publish = false path = "src/lib.rs" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-derive" [dependencies.random] diff --git a/contracts/examples/crypto-kitties/kitty-auction/Cargo.toml b/contracts/examples/crypto-kitties/kitty-auction/Cargo.toml index 6c8fab64d4..9cebc9aee4 100644 --- a/contracts/examples/crypto-kitties/kitty-auction/Cargo.toml +++ b/contracts/examples/crypto-kitties/kitty-auction/Cargo.toml @@ -20,18 +20,18 @@ version = "0.0.0" path = "../kitty-ownership" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crypto-kitties/kitty-auction/wasm/Cargo.toml b/contracts/examples/crypto-kitties/kitty-auction/wasm/Cargo.toml index fa3e964432..e2a1859b64 100644 --- a/contracts/examples/crypto-kitties/kitty-auction/wasm/Cargo.toml +++ b/contracts/examples/crypto-kitties/kitty-auction/wasm/Cargo.toml @@ -23,6 +23,6 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/crypto-kitties/kitty-genetic-alg/Cargo.toml b/contracts/examples/crypto-kitties/kitty-genetic-alg/Cargo.toml index cb1a2752b6..e4766481c6 100644 --- a/contracts/examples/crypto-kitties/kitty-genetic-alg/Cargo.toml +++ b/contracts/examples/crypto-kitties/kitty-genetic-alg/Cargo.toml @@ -20,18 +20,18 @@ version = "0.0.0" path = "../common/random" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crypto-kitties/kitty-genetic-alg/wasm/Cargo.toml b/contracts/examples/crypto-kitties/kitty-genetic-alg/wasm/Cargo.toml index 8f4868a50c..d4ea2d6bfa 100644 --- a/contracts/examples/crypto-kitties/kitty-genetic-alg/wasm/Cargo.toml +++ b/contracts/examples/crypto-kitties/kitty-genetic-alg/wasm/Cargo.toml @@ -23,6 +23,6 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/crypto-kitties/kitty-ownership/Cargo.toml b/contracts/examples/crypto-kitties/kitty-ownership/Cargo.toml index a4e3654297..0749595a14 100644 --- a/contracts/examples/crypto-kitties/kitty-ownership/Cargo.toml +++ b/contracts/examples/crypto-kitties/kitty-ownership/Cargo.toml @@ -24,18 +24,18 @@ version = "0.0.0" path = "../kitty-genetic-alg" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/crypto-kitties/kitty-ownership/wasm/Cargo.toml b/contracts/examples/crypto-kitties/kitty-ownership/wasm/Cargo.toml index 7951d5e2a1..9f97b69d2f 100644 --- a/contracts/examples/crypto-kitties/kitty-ownership/wasm/Cargo.toml +++ b/contracts/examples/crypto-kitties/kitty-ownership/wasm/Cargo.toml @@ -23,6 +23,6 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/egld-esdt-swap/Cargo.toml b/contracts/examples/egld-esdt-swap/Cargo.toml index 340cac7074..ca1fd01599 100644 --- a/contracts/examples/egld-esdt-swap/Cargo.toml +++ b/contracts/examples/egld-esdt-swap/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = [ "elrond-wasm-node",] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/egld-esdt-swap/abi/Cargo.toml b/contracts/examples/egld-esdt-swap/abi/Cargo.toml index 15446598b0..a782c84b07 100644 --- a/contracts/examples/egld-esdt-swap/abi/Cargo.toml +++ b/contracts/examples/egld-esdt-swap/abi/Cargo.toml @@ -11,9 +11,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/egld-esdt-swap/wasm/Cargo.toml b/contracts/examples/egld-esdt-swap/wasm/Cargo.toml index e71ab8dc2a..ff98c9684f 100644 --- a/contracts/examples/egld-esdt-swap/wasm/Cargo.toml +++ b/contracts/examples/egld-esdt-swap/wasm/Cargo.toml @@ -26,6 +26,6 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/erc1155-marketplace/Cargo.toml b/contracts/examples/erc1155-marketplace/Cargo.toml index 04fbb1066e..9325b939be 100644 --- a/contracts/examples/erc1155-marketplace/Cargo.toml +++ b/contracts/examples/erc1155-marketplace/Cargo.toml @@ -15,18 +15,18 @@ wasm-output-mode = ["elrond-wasm-node"] path = "../erc1155" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/erc1155-marketplace/abi/Cargo.toml b/contracts/examples/erc1155-marketplace/abi/Cargo.toml index 8e1f417da9..75513f48c0 100644 --- a/contracts/examples/erc1155-marketplace/abi/Cargo.toml +++ b/contracts/examples/erc1155-marketplace/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/erc1155-marketplace/wasm/Cargo.toml b/contracts/examples/erc1155-marketplace/wasm/Cargo.toml index 06a246b28e..2b8b4aa289 100644 --- a/contracts/examples/erc1155-marketplace/wasm/Cargo.toml +++ b/contracts/examples/erc1155-marketplace/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/erc1155-user-mock/Cargo.toml b/contracts/examples/erc1155-user-mock/Cargo.toml index d111451f6a..cecde3ddc6 100644 --- a/contracts/examples/erc1155-user-mock/Cargo.toml +++ b/contracts/examples/erc1155-user-mock/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/erc1155-user-mock/abi/Cargo.toml b/contracts/examples/erc1155-user-mock/abi/Cargo.toml index 9b4aed624c..845fb5e94a 100644 --- a/contracts/examples/erc1155-user-mock/abi/Cargo.toml +++ b/contracts/examples/erc1155-user-mock/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/erc1155-user-mock/wasm/Cargo.toml b/contracts/examples/erc1155-user-mock/wasm/Cargo.toml index a3c9d51d49..f93bc390c0 100644 --- a/contracts/examples/erc1155-user-mock/wasm/Cargo.toml +++ b/contracts/examples/erc1155-user-mock/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/erc1155/Cargo.toml b/contracts/examples/erc1155/Cargo.toml index d1ec1faf33..348db563c9 100644 --- a/contracts/examples/erc1155/Cargo.toml +++ b/contracts/examples/erc1155/Cargo.toml @@ -15,18 +15,18 @@ wasm-output-mode = ["elrond-wasm-node"] path="../erc1155-user-mock" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/erc1155/abi/Cargo.toml b/contracts/examples/erc1155/abi/Cargo.toml index b0b4db0cc1..dda9453ec8 100644 --- a/contracts/examples/erc1155/abi/Cargo.toml +++ b/contracts/examples/erc1155/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/erc1155/wasm/Cargo.toml b/contracts/examples/erc1155/wasm/Cargo.toml index d6466d6fd6..310de7c976 100644 --- a/contracts/examples/erc1155/wasm/Cargo.toml +++ b/contracts/examples/erc1155/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/erc20/Cargo.toml b/contracts/examples/erc20/Cargo.toml index a3af319625..cd584c596a 100644 --- a/contracts/examples/erc20/Cargo.toml +++ b/contracts/examples/erc20/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/erc20/abi/Cargo.toml b/contracts/examples/erc20/abi/Cargo.toml index c97fd195ee..2c940d2953 100644 --- a/contracts/examples/erc20/abi/Cargo.toml +++ b/contracts/examples/erc20/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/erc20/wasm/Cargo.toml b/contracts/examples/erc20/wasm/Cargo.toml index 11327567a7..6b70eea714 100644 --- a/contracts/examples/erc20/wasm/Cargo.toml +++ b/contracts/examples/erc20/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/esdt-nft-marketplace/Cargo.toml b/contracts/examples/esdt-nft-marketplace/Cargo.toml index 6c94febe66..8dfab5cd83 100644 --- a/contracts/examples/esdt-nft-marketplace/Cargo.toml +++ b/contracts/examples/esdt-nft-marketplace/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/esdt-nft-marketplace/abi/Cargo.toml b/contracts/examples/esdt-nft-marketplace/abi/Cargo.toml index bf34318402..ebe62c5acc 100644 --- a/contracts/examples/esdt-nft-marketplace/abi/Cargo.toml +++ b/contracts/examples/esdt-nft-marketplace/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/esdt-nft-marketplace/wasm/Cargo.toml b/contracts/examples/esdt-nft-marketplace/wasm/Cargo.toml index 95a6b6b050..adb9c0be21 100644 --- a/contracts/examples/esdt-nft-marketplace/wasm/Cargo.toml +++ b/contracts/examples/esdt-nft-marketplace/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/factorial/Cargo.toml b/contracts/examples/factorial/Cargo.toml index 0561f215eb..dad8dc7bea 100644 --- a/contracts/examples/factorial/Cargo.toml +++ b/contracts/examples/factorial/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/factorial/abi/Cargo.toml b/contracts/examples/factorial/abi/Cargo.toml index 0359dad231..752617420d 100644 --- a/contracts/examples/factorial/abi/Cargo.toml +++ b/contracts/examples/factorial/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/factorial/wasm/Cargo.toml b/contracts/examples/factorial/wasm/Cargo.toml index 7fa06ce679..f4c0dad40e 100644 --- a/contracts/examples/factorial/wasm/Cargo.toml +++ b/contracts/examples/factorial/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/lottery-egld/Cargo.toml b/contracts/examples/lottery-egld/Cargo.toml index c57035d472..37dec29d6a 100644 --- a/contracts/examples/lottery-egld/Cargo.toml +++ b/contracts/examples/lottery-egld/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = [ "elrond-wasm-node",] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/lottery-egld/abi/Cargo.toml b/contracts/examples/lottery-egld/abi/Cargo.toml index dfca84fbbb..ede785afd0 100644 --- a/contracts/examples/lottery-egld/abi/Cargo.toml +++ b/contracts/examples/lottery-egld/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/lottery-egld/wasm/Cargo.toml b/contracts/examples/lottery-egld/wasm/Cargo.toml index 6a83125e52..663d655dd9 100644 --- a/contracts/examples/lottery-egld/wasm/Cargo.toml +++ b/contracts/examples/lottery-egld/wasm/Cargo.toml @@ -23,6 +23,6 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/lottery-erc20/Cargo.toml b/contracts/examples/lottery-erc20/Cargo.toml index 108e6322c3..4bb5ba5e1e 100644 --- a/contracts/examples/lottery-erc20/Cargo.toml +++ b/contracts/examples/lottery-erc20/Cargo.toml @@ -12,15 +12,15 @@ path = "src/lib.rs" wasm-output-mode = [ "elrond-wasm-node",] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true @@ -28,5 +28,5 @@ optional = true path = "../erc20" [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/lottery-erc20/abi/Cargo.toml b/contracts/examples/lottery-erc20/abi/Cargo.toml index 58f1038424..a77bed48ab 100644 --- a/contracts/examples/lottery-erc20/abi/Cargo.toml +++ b/contracts/examples/lottery-erc20/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/lottery-erc20/wasm/Cargo.toml b/contracts/examples/lottery-erc20/wasm/Cargo.toml index 7b6ec16cb0..34051fd55f 100644 --- a/contracts/examples/lottery-erc20/wasm/Cargo.toml +++ b/contracts/examples/lottery-erc20/wasm/Cargo.toml @@ -24,6 +24,6 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/lottery-esdt/Cargo.toml b/contracts/examples/lottery-esdt/Cargo.toml index 9841ee36d9..d2263f5251 100644 --- a/contracts/examples/lottery-esdt/Cargo.toml +++ b/contracts/examples/lottery-esdt/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = [ "elrond-wasm-node",] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/lottery-esdt/abi/Cargo.toml b/contracts/examples/lottery-esdt/abi/Cargo.toml index bc901b563c..d418257b55 100644 --- a/contracts/examples/lottery-esdt/abi/Cargo.toml +++ b/contracts/examples/lottery-esdt/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/lottery-esdt/wasm/Cargo.toml b/contracts/examples/lottery-esdt/wasm/Cargo.toml index ffb5a09f8a..1d9000d561 100644 --- a/contracts/examples/lottery-esdt/wasm/Cargo.toml +++ b/contracts/examples/lottery-esdt/wasm/Cargo.toml @@ -21,7 +21,7 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/multisig/Cargo.toml b/contracts/examples/multisig/Cargo.toml index 1379458fc6..3a071dac7b 100644 --- a/contracts/examples/multisig/Cargo.toml +++ b/contracts/examples/multisig/Cargo.toml @@ -14,18 +14,18 @@ wasm-output-mode = [ ] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/multisig/abi/Cargo.toml b/contracts/examples/multisig/abi/Cargo.toml index 31f116316c..a47bef0e8a 100644 --- a/contracts/examples/multisig/abi/Cargo.toml +++ b/contracts/examples/multisig/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/multisig/wasm/Cargo.toml b/contracts/examples/multisig/wasm/Cargo.toml index 124ed50485..4ec1415b15 100644 --- a/contracts/examples/multisig/wasm/Cargo.toml +++ b/contracts/examples/multisig/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/examples/non-fungible-tokens/Cargo.toml b/contracts/examples/non-fungible-tokens/Cargo.toml index 10cf0148e9..d0418efe76 100644 --- a/contracts/examples/non-fungible-tokens/Cargo.toml +++ b/contracts/examples/non-fungible-tokens/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = [ "elrond-wasm-node",] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/non-fungible-tokens/abi/Cargo.toml b/contracts/examples/non-fungible-tokens/abi/Cargo.toml index 3537ffbfbc..c7638b0bec 100644 --- a/contracts/examples/non-fungible-tokens/abi/Cargo.toml +++ b/contracts/examples/non-fungible-tokens/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/non-fungible-tokens/wasm/Cargo.toml b/contracts/examples/non-fungible-tokens/wasm/Cargo.toml index 4cd5760c00..0fd6575306 100644 --- a/contracts/examples/non-fungible-tokens/wasm/Cargo.toml +++ b/contracts/examples/non-fungible-tokens/wasm/Cargo.toml @@ -23,6 +23,6 @@ default-features = false path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = [ "wasm-output-mode",] diff --git a/contracts/examples/ping-pong-egld/Cargo.toml b/contracts/examples/ping-pong-egld/Cargo.toml index 4fb6f60c84..fd0e6c09db 100644 --- a/contracts/examples/ping-pong-egld/Cargo.toml +++ b/contracts/examples/ping-pong-egld/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/examples/ping-pong-egld/abi/Cargo.toml b/contracts/examples/ping-pong-egld/abi/Cargo.toml index fd950302a9..7da6abb40e 100644 --- a/contracts/examples/ping-pong-egld/abi/Cargo.toml +++ b/contracts/examples/ping-pong-egld/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/examples/ping-pong-egld/wasm/Cargo.toml b/contracts/examples/ping-pong-egld/wasm/Cargo.toml index 4cdd31ae8a..f66d82c566 100644 --- a/contracts/examples/ping-pong-egld/wasm/Cargo.toml +++ b/contracts/examples/ping-pong-egld/wasm/Cargo.toml @@ -22,5 +22,5 @@ features = [ "wasm-output-mode",] path = ".." [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" features = [ "wasm-output-mode",] diff --git a/contracts/feature-tests/abi-tester/Cargo.toml b/contracts/feature-tests/abi-tester/Cargo.toml index fc3ffa0c2b..b2e8ba3286 100644 --- a/contracts/feature-tests/abi-tester/Cargo.toml +++ b/contracts/feature-tests/abi-tester/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/abi-tester/abi/Cargo.toml b/contracts/feature-tests/abi-tester/abi/Cargo.toml index 9d0b026d58..f3fa38bb2b 100644 --- a/contracts/feature-tests/abi-tester/abi/Cargo.toml +++ b/contracts/feature-tests/abi-tester/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/abi-tester/wasm/Cargo.toml b/contracts/feature-tests/abi-tester/wasm/Cargo.toml index 8fb8f7701c..7fa7c438eb 100644 --- a/contracts/feature-tests/abi-tester/wasm/Cargo.toml +++ b/contracts/feature-tests/abi-tester/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/async/Cargo.toml b/contracts/feature-tests/async/Cargo.toml index 85a4e116cb..1ca78cfc42 100644 --- a/contracts/feature-tests/async/Cargo.toml +++ b/contracts/feature-tests/async/Cargo.toml @@ -27,18 +27,18 @@ path = "forwarder-raw" path = "vault" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/async-alice/Cargo.toml b/contracts/feature-tests/async/async-alice/Cargo.toml index 6e308c7ae4..82df3d2466 100644 --- a/contracts/feature-tests/async/async-alice/Cargo.toml +++ b/contracts/feature-tests/async/async-alice/Cargo.toml @@ -15,18 +15,18 @@ wasm-output-mode = ["elrond-wasm-node"] hex-literal = "0.3.1" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/async-alice/wasm/Cargo.toml b/contracts/feature-tests/async/async-alice/wasm/Cargo.toml index a2cbecf175..3dc625bac7 100644 --- a/contracts/feature-tests/async/async-alice/wasm/Cargo.toml +++ b/contracts/feature-tests/async/async-alice/wasm/Cargo.toml @@ -20,7 +20,7 @@ path = ".." features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/feature-tests/async/async-bob/Cargo.toml b/contracts/feature-tests/async/async-bob/Cargo.toml index 98e34979f9..7961b4a6bf 100644 --- a/contracts/feature-tests/async/async-bob/Cargo.toml +++ b/contracts/feature-tests/async/async-bob/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/async-bob/wasm/Cargo.toml b/contracts/feature-tests/async/async-bob/wasm/Cargo.toml index e033914865..53e6ca5e20 100644 --- a/contracts/feature-tests/async/async-bob/wasm/Cargo.toml +++ b/contracts/feature-tests/async/async-bob/wasm/Cargo.toml @@ -20,7 +20,7 @@ path = ".." features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/feature-tests/async/forwarder-raw/Cargo.toml b/contracts/feature-tests/async/forwarder-raw/Cargo.toml index d25f8df30e..13727896e1 100644 --- a/contracts/feature-tests/async/forwarder-raw/Cargo.toml +++ b/contracts/feature-tests/async/forwarder-raw/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/forwarder-raw/wasm/Cargo.toml b/contracts/feature-tests/async/forwarder-raw/wasm/Cargo.toml index f4c1979c00..4b8b40cbaf 100644 --- a/contracts/feature-tests/async/forwarder-raw/wasm/Cargo.toml +++ b/contracts/feature-tests/async/forwarder-raw/wasm/Cargo.toml @@ -20,7 +20,7 @@ path = ".." features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/feature-tests/async/forwarder/Cargo.toml b/contracts/feature-tests/async/forwarder/Cargo.toml index 9b1da389e5..541ffdbc7e 100644 --- a/contracts/feature-tests/async/forwarder/Cargo.toml +++ b/contracts/feature-tests/async/forwarder/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/forwarder/src/call_sync.rs b/contracts/feature-tests/async/forwarder/src/call_sync.rs index 8869c4d303..cfb29af053 100644 --- a/contracts/feature-tests/async/forwarder/src/call_sync.rs +++ b/contracts/feature-tests/async/forwarder/src/call_sync.rs @@ -16,6 +16,24 @@ pub trait ForwarderSyncCallModule { self.execute_on_dest_context_result(result.as_slice()); } + #[endpoint] + #[payable("*")] + fn echo_arguments_sync_range( + &self, + to: Address, + start: usize, + end: usize, + #[var_args] args: VarArgs, + ) { + let half_gas = self.blockchain().get_gas_left() / 2; + + let result = contract_call!(self, to, VaultProxy) + .echo_arguments(&args) + .execute_on_dest_context_custom_range(half_gas, |_, _| (start, end), self.send()); + + self.execute_on_dest_context_result(result.as_slice()); + } + #[endpoint] #[payable("*")] fn echo_arguments_sync_twice(&self, to: Address, #[var_args] args: VarArgs) { diff --git a/contracts/feature-tests/async/forwarder/wasm/Cargo.toml b/contracts/feature-tests/async/forwarder/wasm/Cargo.toml index 0c634e4468..27bd7e05b5 100644 --- a/contracts/feature-tests/async/forwarder/wasm/Cargo.toml +++ b/contracts/feature-tests/async/forwarder/wasm/Cargo.toml @@ -20,7 +20,7 @@ path = ".." features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/feature-tests/async/mandos/forwarder_async_accept_egld.scen.json b/contracts/feature-tests/async/mandos/forwarder_async_accept_egld.scen.json index c6356e74a9..40ef471ebc 100644 --- a/contracts/feature-tests/async/mandos/forwarder_async_accept_egld.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_async_accept_egld.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "1000", "function": "forward_async_accept_funds", "arguments": [ - "address:vault" + "sc:vault" ], "gasLimit": "1,000,000", "gasPrice": "0" @@ -43,7 +43,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -65,13 +65,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "1000", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, diff --git a/contracts/feature-tests/async/mandos/forwarder_async_accept_esdt.scen.json b/contracts/feature-tests/async/mandos/forwarder_async_accept_esdt.scen.json index 508954935e..7e95d0a880 100644 --- a/contracts/feature-tests/async/mandos/forwarder_async_accept_esdt.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_async_accept_esdt.scen.json @@ -13,13 +13,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -32,13 +32,15 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", - "esdtValue": "1000", - "esdtTokenName": "str:TEST-TOKEN", + "esdt": { + "tokenIdentifier": "str:TEST-TOKEN", + "value": "1000" + }, "function": "forward_async_accept_funds", "arguments": [ - "address:vault" + "sc:vault" ], "gasLimit": "1,000,000", "gasPrice": "0" @@ -48,7 +50,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:TEST-TOKEN", @@ -73,7 +75,7 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, @@ -82,7 +84,7 @@ }, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, diff --git a/contracts/feature-tests/async/mandos/forwarder_nft_create.scen.json b/contracts/feature-tests/async/mandos/forwarder_nft_create.scen.json new file mode 100644 index 0000000000..caa822b5ec --- /dev/null +++ b/contracts/feature-tests/async/mandos/forwarder_nft_create.scen.json @@ -0,0 +1,105 @@ +{ + "gasSchedule": "dummy", + "steps": [ + { + "step": "setState", + "accounts": { + "address:a_user": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1" + } + }, + "storage": {}, + "code": "" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1", + "lastNonce": "1", + "roles": [ + "ESDTRoleNFTCreate" + ] + } + }, + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + }, + { + "step": "scCall", + "txId": "1", + "tx": { + "from": "address:a_user", + "to": "sc:forwarder", + "function": "nft_create", + "arguments": [ + "str:NFT-0001", + "1", + "str:nft-create-name", + "0", + "str:nft-create-hash-----------------", + "0x000000", + "str:nft-create-uri" + ], + "gasLimit": "1,000,000", + "gasPrice": "0" + }, + "expect": { + "out": ["2"], + "status": "0", + "gas": "*", + "refund": "*" + } + }, + { + "step": "checkState", + "accounts": { + "address:a_user": { + "nonce": "*", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1" + } + }, + "storage": {}, + "code": "" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "instances": [ + { + "nonce": "1", + "balance": "1" + }, + { + "nonce": "2", + "balance": "1" + } + ], + "lastNonce": "2", + "roles": [ + "ESDTRoleNFTCreate" + ] + } + }, + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + } + ] +} diff --git a/contracts/feature-tests/async/mandos/forwarder_nft_transfer_async.scen.json b/contracts/feature-tests/async/mandos/forwarder_nft_transfer_async.scen.json new file mode 100644 index 0000000000..6e7fd3654e --- /dev/null +++ b/contracts/feature-tests/async/mandos/forwarder_nft_transfer_async.scen.json @@ -0,0 +1,87 @@ +{ + "gasSchedule": "dummy", + "steps": [ + { + "step": "setState", + "accounts": { + "address:a_user": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "0" + } + }, + "storage": {}, + "code": "" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1" + } + }, + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + }, + { + "step": "scCall", + "txId": "1", + "tx": { + "from": "address:a_user", + "to": "sc:forwarder", + "function": "transfer_nft_via_async_call", + "arguments": [ + "address:a_user", + "str:NFT-0001", + "1", + "1", + "" + ], + "gasLimit": "1,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "0", + "gas": "*", + "refund": "*" + } + }, + { + "step": "checkState", + "accounts": { + "address:a_user": { + "nonce": "*", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1" + } + }, + "storage": {}, + "code": "" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "0" + } + }, + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + } + ] +} diff --git a/contracts/feature-tests/async/mandos/forwarder_nft_transfer_exec.scen.json b/contracts/feature-tests/async/mandos/forwarder_nft_transfer_exec.scen.json new file mode 100644 index 0000000000..7e2f8e0225 --- /dev/null +++ b/contracts/feature-tests/async/mandos/forwarder_nft_transfer_exec.scen.json @@ -0,0 +1,87 @@ +{ + "gasSchedule": "dummy", + "steps": [ + { + "step": "setState", + "accounts": { + "address:a_user": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "0" + } + }, + "storage": {}, + "code": "" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1" + } + }, + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + }, + { + "step": "scCall", + "txId": "1", + "tx": { + "from": "address:a_user", + "to": "sc:forwarder", + "function": "transfer_nft_and_execute", + "arguments": [ + "address:a_user", + "str:NFT-0001", + "1", + "1", + "" + ], + "gasLimit": "1,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "0", + "gas": "*", + "refund": "*" + } + }, + { + "step": "checkState", + "accounts": { + "address:a_user": { + "nonce": "*", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "1" + } + }, + "storage": {}, + "code": "" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "esdt": { + "str:NFT-0001": { + "nonce": "1", + "balance": "0" + } + }, + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + } + ] +} diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_egld.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_egld.scen.json index 40f3a28966..873a88cf28 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_egld.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_egld.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "1000", "function": "forward_async_call", "arguments": [ - "address:vault", + "sc:vault", "str:accept_funds" ], "gasLimit": "1,000,000", @@ -44,7 +44,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -53,7 +53,7 @@ "data": "" }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:callback_raw", "topics": [ "str:EGLD", @@ -77,13 +77,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "1000", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": { diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_esdt.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_esdt.scen.json index 866b00849c..d8777ad0ac 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_esdt.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_async_accept_esdt.scen.json @@ -13,13 +13,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -32,13 +32,15 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", - "esdtValue": "1000", - "esdtTokenName": "str:TEST-TOKEN", + "esdt": { + "tokenIdentifier": "str:TEST-TOKEN", + "value": "1000" + }, "function": "forward_async_call", "arguments": [ - "address:vault", + "sc:vault", "str:accept_funds" ], "gasLimit": "1,000,000", @@ -49,7 +51,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:TEST-TOKEN", @@ -58,7 +60,7 @@ "data": "" }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:callback_raw", "topics": [ "str:EGLD", @@ -85,7 +87,7 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, @@ -94,7 +96,7 @@ }, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": { diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_async_echo.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_async_echo.scen.json index 4c9e5dd72c..09c82bbe8d 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_async_echo.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_async_echo.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "forward_async_call", "arguments": [ - "address:vault", + "sc:vault", "str:echo_arguments", "1", "2" @@ -49,7 +49,7 @@ "status": "0", "logs": [ { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:callback_raw", "topics": [ "str:EGLD", @@ -77,13 +77,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": { diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_direct_egld.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_direct_egld.scen.json index cf31d5d63d..38ef1d3a86 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_direct_egld.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_direct_egld.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "1000", "function": "forward_payment", "arguments": [ - "address:vault" + "sc:vault" ], "gasLimit": "1,000,000", "gasPrice": "0" @@ -55,13 +55,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "1000", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_direct_esdt.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_direct_esdt.scen.json index 52febd711e..9b7fa9f188 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_direct_esdt.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_direct_esdt.scen.json @@ -13,13 +13,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -32,13 +32,15 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", - "esdtValue": "1000", - "esdtTokenName": "str:TEST-TOKEN", + "esdt": { + "tokenIdentifier": "str:TEST-TOKEN", + "value": "1000" + }, "function": "forward_payment", "arguments": [ - "address:vault" + "sc:vault" ], "gasLimit": "1,000,000", "gasPrice": "0" @@ -48,7 +50,7 @@ "status": "0", "logs": [ { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:callback_raw", "topics": [ "str:EGLD", @@ -75,7 +77,7 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, @@ -84,7 +86,7 @@ }, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": { diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_sync_echo.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_sync_echo.scen.json index 8c5e9e437f..904ee169c1 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_sync_echo.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_sync_echo.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "call_execute_on_dest_context", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "call_execute_on_dest_context", "arguments": [ - "address:vault", + "sc:vault", "str:echo_arguments", "1", "2" @@ -49,7 +49,7 @@ "status": "0", "logs": [ { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": { @@ -69,11 +69,11 @@ "txId": "call_execute_on_dest_context_twice", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "call_execute_on_dest_context_twice", "arguments": [ - "address:vault", + "sc:vault", "str:echo_arguments", "1", "2" @@ -91,7 +91,7 @@ "status": "0", "logs": [ { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": { @@ -102,7 +102,7 @@ } }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": { diff --git a/contracts/feature-tests/async/mandos/forwarder_raw_sync_egld.scen.json b/contracts/feature-tests/async/mandos/forwarder_raw_sync_egld.scen.json index a1ab039185..1d3803b342 100644 --- a/contracts/feature-tests/async/mandos/forwarder_raw_sync_egld.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_raw_sync_egld.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "call_execute_on_dest_context", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "1000", "function": "call_execute_on_dest_context", "arguments": [ - "address:vault", + "sc:vault", "str:accept_funds" ], "gasLimit": "1,000,000", @@ -44,7 +44,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -53,7 +53,7 @@ "data": "" }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": {} @@ -68,11 +68,11 @@ "txId": "call_execute_on_dest_context_twice", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "1000", "function": "call_execute_on_dest_context_twice", "arguments": [ - "address:vault", + "sc:vault", "str:accept_funds" ], "gasLimit": "1,000,000", @@ -83,7 +83,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -92,13 +92,13 @@ "data": "" }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": {} }, { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -107,7 +107,7 @@ "data": "" }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": {} diff --git a/contracts/feature-tests/async/mandos/forwarder_send_twice_egld.scen.json b/contracts/feature-tests/async/mandos/forwarder_send_twice_egld.scen.json index b8e8c3e114..7031e1a6c7 100644 --- a/contracts/feature-tests/async/mandos/forwarder_send_twice_egld.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_send_twice_egld.scen.json @@ -9,13 +9,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "1000", "storage": {}, @@ -28,11 +28,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "send_funds_twice", "arguments": [ - "address:vault", + "sc:vault", "str:EGLD", "1" ], @@ -44,7 +44,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -53,7 +53,7 @@ "data": "" }, { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -75,13 +75,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "2", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "998", "storage": {}, diff --git a/contracts/feature-tests/async/mandos/forwarder_send_twice_esdt.scen.json b/contracts/feature-tests/async/mandos/forwarder_send_twice_esdt.scen.json index 26c0d15fee..502e85fc2f 100644 --- a/contracts/feature-tests/async/mandos/forwarder_send_twice_esdt.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_send_twice_esdt.scen.json @@ -9,13 +9,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "esdt": { @@ -31,11 +31,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "send_funds_twice", "arguments": [ - "address:vault", + "sc:vault", "str:FWD-TOKEN", "1" ], @@ -47,7 +47,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:FWD-TOKEN", @@ -56,7 +56,7 @@ "data": "" }, { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:FWD-TOKEN", @@ -78,7 +78,7 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "esdt": { @@ -87,7 +87,7 @@ "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "esdt": { diff --git a/contracts/feature-tests/async/mandos/forwarder_sync_accept_egld.scen.json b/contracts/feature-tests/async/mandos/forwarder_sync_accept_egld.scen.json index ffaaf9f615..e5e4b6f1b1 100644 --- a/contracts/feature-tests/async/mandos/forwarder_sync_accept_egld.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_sync_accept_egld.scen.json @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "1000", "function": "forward_sync_accept_funds", "arguments": [ - "address:vault" + "sc:vault" ], "gasLimit": "1,000,000", "gasPrice": "0" @@ -43,7 +43,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:EGLD", @@ -65,13 +65,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "1000", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, diff --git a/contracts/feature-tests/async/mandos/forwarder_sync_accept_esdt.scen.json b/contracts/feature-tests/async/mandos/forwarder_sync_accept_esdt.scen.json index e993734718..b0c7d8965c 100644 --- a/contracts/feature-tests/async/mandos/forwarder_sync_accept_esdt.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_sync_accept_esdt.scen.json @@ -13,13 +13,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -32,13 +32,15 @@ "txId": "1", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", - "esdtValue": "1000", - "esdtTokenName": "str:TEST-TOKEN", + "esdt": { + "tokenIdentifier": "str:TEST-TOKEN", + "value": "1000" + }, "function": "forward_sync_accept_funds", "arguments": [ - "address:vault" + "sc:vault" ], "gasLimit": "1,000,000", "gasPrice": "0" @@ -48,7 +50,7 @@ "status": "0", "logs": [ { - "address": "address:vault", + "address": "sc:vault", "identifier": "str:accept_funds", "topics": [ "str:TEST-TOKEN", @@ -73,7 +75,7 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, @@ -82,7 +84,7 @@ }, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, diff --git a/contracts/feature-tests/async/mandos/forwarder_sync_echo.scen.json b/contracts/feature-tests/async/mandos/forwarder_sync_echo.scen.json index e3c0348cba..fd360f998a 100644 --- a/contracts/feature-tests/async/mandos/forwarder_sync_echo.scen.json +++ b/contracts/feature-tests/async/mandos/forwarder_sync_echo.scen.json @@ -1,5 +1,5 @@ { - "gasSchedule": "dummy", + "gasSchedule": "v3", "steps": [ { "step": "setState", @@ -10,13 +10,13 @@ "storage": {}, "code": "" }, - "address:vault": { + "sc:vault": { "nonce": "0", "balance": "0", "storage": {}, "code": "file:../vault/output/vault.wasm" }, - "address:forwarder": { + "sc:forwarder": { "nonce": "0", "balance": "0", "storage": {}, @@ -29,11 +29,11 @@ "txId": "echo_arguments_sync", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "echo_arguments_sync", "arguments": [ - "address:vault", + "sc:vault", "1", "2" ], @@ -48,7 +48,7 @@ "status": "0", "logs": [ { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": { @@ -68,11 +68,11 @@ "txId": "echo_arguments_sync_twice", "tx": { "from": "address:a_user", - "to": "address:forwarder", + "to": "sc:forwarder", "value": "0", "function": "echo_arguments_sync_twice", "arguments": [ - "address:vault", + "sc:vault", "1", "2" ], @@ -89,7 +89,7 @@ "status": "0", "logs": [ { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": { @@ -100,7 +100,7 @@ } }, { - "address": "address:forwarder", + "address": "sc:forwarder", "identifier": "str:execute_on_dest_context_result", "topics": [], "data": { diff --git a/contracts/feature-tests/async/mandos/forwarder_sync_echo_range.scen.json b/contracts/feature-tests/async/mandos/forwarder_sync_echo_range.scen.json new file mode 100644 index 0000000000..65a35ced9c --- /dev/null +++ b/contracts/feature-tests/async/mandos/forwarder_sync_echo_range.scen.json @@ -0,0 +1,68 @@ +{ + "gasSchedule": "v3", + "steps": [ + { + "step": "setState", + "accounts": { + "address:a_user": { + "nonce": "0", + "balance": "0", + "storage": {}, + "code": "" + }, + "sc:vault": { + "nonce": "0", + "balance": "0", + "storage": {}, + "code": "file:../vault/output/vault.wasm" + }, + "sc:forwarder": { + "nonce": "0", + "balance": "0", + "storage": {}, + "code": "file:../forwarder/output/forwarder.wasm" + } + } + }, + { + "step": "scCall", + "txId": "echo_arguments_sync_range", + "tx": { + "from": "address:a_user", + "to": "sc:forwarder", + "value": "0", + "function": "echo_arguments_sync_range", + "arguments": [ + "sc:vault", + "1", + "2", + "5", + "6" + ], + "gasLimit": "1,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "5", + "6" + ], + "status": "0", + "logs": [ + { + "address": "sc:forwarder", + "identifier": "str:execute_on_dest_context_result", + "topics": [], + "data": { + "0-echoed-args": [ + "biguint:6" + ] + } + } + ], + "gas": "*", + "refund": "*" + } + } + ] +} diff --git a/contracts/feature-tests/async/mandos/send_egld.scen.json b/contracts/feature-tests/async/mandos/send_egld.scen.json index 8ef0396473..7b6c527b5c 100644 --- a/contracts/feature-tests/async/mandos/send_egld.scen.json +++ b/contracts/feature-tests/async/mandos/send_egld.scen.json @@ -1,6 +1,6 @@ { "name": "send_egld", - "gasSchedule": "v2", + "gasSchedule": "v3", "steps": [ { "step": "setState", diff --git a/contracts/feature-tests/async/mandos/send_esdt.scen.json b/contracts/feature-tests/async/mandos/send_esdt.scen.json index c4f2de40a4..5e5e895f89 100644 --- a/contracts/feature-tests/async/mandos/send_esdt.scen.json +++ b/contracts/feature-tests/async/mandos/send_esdt.scen.json @@ -1,6 +1,6 @@ { "name": "send_esdt", - "gasSchedule": "v2", + "gasSchedule": "v3", "steps": [ { "step": "setState", diff --git a/contracts/feature-tests/async/recursive-caller/Cargo.toml b/contracts/feature-tests/async/recursive-caller/Cargo.toml index 972729d682..d937cd680f 100644 --- a/contracts/feature-tests/async/recursive-caller/Cargo.toml +++ b/contracts/feature-tests/async/recursive-caller/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/recursive-caller/wasm/Cargo.toml b/contracts/feature-tests/async/recursive-caller/wasm/Cargo.toml index 0aa379e526..84a609c6bf 100644 --- a/contracts/feature-tests/async/recursive-caller/wasm/Cargo.toml +++ b/contracts/feature-tests/async/recursive-caller/wasm/Cargo.toml @@ -20,7 +20,7 @@ path = ".." features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/feature-tests/async/tests/async_mandos.rs b/contracts/feature-tests/async/tests/async_mandos.rs index 324d1e9b0e..5f7882e1a7 100644 --- a/contracts/feature-tests/async/tests/async_mandos.rs +++ b/contracts/feature-tests/async/tests/async_mandos.rs @@ -37,58 +37,58 @@ fn contract_map() -> ContractMap { contract_map } -#[test] -fn forwarder_async_accept_egld() { - parse_execute_mandos( - "mandos/forwarder_async_accept_egld.scen.json", - &contract_map(), - ); -} +// #[test] +// fn forwarder_async_accept_egld() { +// parse_execute_mandos( +// "mandos/forwarder_async_accept_egld.scen.json", +// &contract_map(), +// ); +// } -#[test] -fn forwarder_async_accept_esdt() { - parse_execute_mandos( - "mandos/forwarder_async_accept_esdt.scen.json", - &contract_map(), - ); -} +// #[test] +// fn forwarder_async_accept_esdt() { +// parse_execute_mandos( +// "mandos/forwarder_async_accept_esdt.scen.json", +// &contract_map(), +// ); +// } -#[test] -fn forwarder_raw_async_accept_egld() { - parse_execute_mandos( - "mandos/forwarder_raw_async_accept_egld.scen.json", - &contract_map(), - ); -} +// #[test] +// fn forwarder_raw_async_accept_egld() { +// parse_execute_mandos( +// "mandos/forwarder_raw_async_accept_egld.scen.json", +// &contract_map(), +// ); +// } -#[test] -fn forwarder_raw_async_accept_esdt() { - parse_execute_mandos( - "mandos/forwarder_raw_async_accept_esdt.scen.json", - &contract_map(), - ); -} +// #[test] +// fn forwarder_raw_async_accept_esdt() { +// parse_execute_mandos( +// "mandos/forwarder_raw_async_accept_esdt.scen.json", +// &contract_map(), +// ); +// } -#[test] -fn forwarder_raw_async_echo() { - parse_execute_mandos("mandos/forwarder_raw_async_echo.scen.json", &contract_map()); -} +// #[test] +// fn forwarder_raw_async_echo() { +// parse_execute_mandos("mandos/forwarder_raw_async_echo.scen.json", &contract_map()); +// } -#[test] -fn forwarder_raw_direct_egld() { - parse_execute_mandos( - "mandos/forwarder_raw_direct_egld.scen.json", - &contract_map(), - ); -} +// #[test] +// fn forwarder_raw_direct_egld() { +// parse_execute_mandos( +// "mandos/forwarder_raw_direct_egld.scen.json", +// &contract_map(), +// ); +// } -#[test] -fn forwarder_raw_direct_esdt() { - parse_execute_mandos( - "mandos/forwarder_raw_direct_esdt.scen.json", - &contract_map(), - ); -} +// #[test] +// fn forwarder_raw_direct_esdt() { +// parse_execute_mandos( +// "mandos/forwarder_raw_direct_esdt.scen.json", +// &contract_map(), +// ); +// } // #[test] // fn forwarder_raw_sync_echo() { diff --git a/contracts/feature-tests/async/vault/Cargo.toml b/contracts/feature-tests/async/vault/Cargo.toml index 3ed8b3ec02..97475fc019 100644 --- a/contracts/feature-tests/async/vault/Cargo.toml +++ b/contracts/feature-tests/async/vault/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/async/vault/wasm/Cargo.toml b/contracts/feature-tests/async/vault/wasm/Cargo.toml index b3756ca69b..b004a3ef1a 100644 --- a/contracts/feature-tests/async/vault/wasm/Cargo.toml +++ b/contracts/feature-tests/async/vault/wasm/Cargo.toml @@ -20,7 +20,7 @@ path = ".." features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/feature-tests/basic-features/Cargo.toml b/contracts/feature-tests/basic-features/Cargo.toml index 17653e3823..b934921436 100644 --- a/contracts/feature-tests/basic-features/Cargo.toml +++ b/contracts/feature-tests/basic-features/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/basic-features/abi/Cargo.toml b/contracts/feature-tests/basic-features/abi/Cargo.toml index 222d0b21ac..89a72069a9 100644 --- a/contracts/feature-tests/basic-features/abi/Cargo.toml +++ b/contracts/feature-tests/basic-features/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/basic-features/wasm/Cargo.toml b/contracts/feature-tests/basic-features/wasm/Cargo.toml index 854784796f..fda41c44c0 100644 --- a/contracts/feature-tests/basic-features/wasm/Cargo.toml +++ b/contracts/feature-tests/basic-features/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/deploy-two-contracts/Cargo.toml b/contracts/feature-tests/deploy-two-contracts/Cargo.toml index f5da9f21de..2444e3389e 100644 --- a/contracts/feature-tests/deploy-two-contracts/Cargo.toml +++ b/contracts/feature-tests/deploy-two-contracts/Cargo.toml @@ -12,19 +12,19 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/deploy-two-contracts/wasm/Cargo.toml b/contracts/feature-tests/deploy-two-contracts/wasm/Cargo.toml index 48f1202952..7bdee13136 100644 --- a/contracts/feature-tests/deploy-two-contracts/wasm/Cargo.toml +++ b/contracts/feature-tests/deploy-two-contracts/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/esdt-contract-pair/Cargo.toml b/contracts/feature-tests/esdt-contract-pair/Cargo.toml index 37f7a7e843..c15eb771bb 100644 --- a/contracts/feature-tests/esdt-contract-pair/Cargo.toml +++ b/contracts/feature-tests/esdt-contract-pair/Cargo.toml @@ -18,18 +18,18 @@ path = "first-contract" path = "second-contract" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/esdt-contract-pair/first-contract/Cargo.toml b/contracts/feature-tests/esdt-contract-pair/first-contract/Cargo.toml index 3ef42e7065..e05b4a76a3 100644 --- a/contracts/feature-tests/esdt-contract-pair/first-contract/Cargo.toml +++ b/contracts/feature-tests/esdt-contract-pair/first-contract/Cargo.toml @@ -12,19 +12,19 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/esdt-contract-pair/first-contract/wasm/Cargo.toml b/contracts/feature-tests/esdt-contract-pair/first-contract/wasm/Cargo.toml index 8ca6de68a4..87375718be 100644 --- a/contracts/feature-tests/esdt-contract-pair/first-contract/wasm/Cargo.toml +++ b/contracts/feature-tests/esdt-contract-pair/first-contract/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/esdt-contract-pair/second-contract/Cargo.toml b/contracts/feature-tests/esdt-contract-pair/second-contract/Cargo.toml index 2f06f4a88b..5b7d3f5fe8 100644 --- a/contracts/feature-tests/esdt-contract-pair/second-contract/Cargo.toml +++ b/contracts/feature-tests/esdt-contract-pair/second-contract/Cargo.toml @@ -12,19 +12,19 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/esdt-contract-pair/second-contract/wasm/Cargo.toml b/contracts/feature-tests/esdt-contract-pair/second-contract/wasm/Cargo.toml index 28fc4e65bc..51e1915f59 100644 --- a/contracts/feature-tests/esdt-contract-pair/second-contract/wasm/Cargo.toml +++ b/contracts/feature-tests/esdt-contract-pair/second-contract/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/Cargo.toml b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/Cargo.toml index d9af789ffe..9d3215f185 100644 --- a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/Cargo.toml +++ b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/Cargo.toml @@ -18,18 +18,18 @@ path = "parent" path = "child" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/Cargo.toml b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/Cargo.toml index 1283269d50..f8e7fdd7a1 100644 --- a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/Cargo.toml +++ b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/wasm/Cargo.toml b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/wasm/Cargo.toml index 3596851e90..276a3d02dd 100644 --- a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/wasm/Cargo.toml +++ b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/child/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/Cargo.toml b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/Cargo.toml index d394d3717c..01a233b953 100644 --- a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/Cargo.toml +++ b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/Cargo.toml @@ -12,19 +12,19 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/wasm/Cargo.toml b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/wasm/Cargo.toml index 91ede8dc32..3c6ecfe79c 100644 --- a/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/wasm/Cargo.toml +++ b/contracts/feature-tests/execute-on-dest-esdt-issue-callback/parent/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/local-esdt-and-nft/Cargo.toml b/contracts/feature-tests/local-esdt-and-nft/Cargo.toml index 7b6d046e70..c1691eeabd 100644 --- a/contracts/feature-tests/local-esdt-and-nft/Cargo.toml +++ b/contracts/feature-tests/local-esdt-and-nft/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/local-esdt-and-nft/wasm/Cargo.toml b/contracts/feature-tests/local-esdt-and-nft/wasm/Cargo.toml index 787181f6e1..ba84742200 100644 --- a/contracts/feature-tests/local-esdt-and-nft/wasm/Cargo.toml +++ b/contracts/feature-tests/local-esdt-and-nft/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/nft-receiver/Cargo.toml b/contracts/feature-tests/nft-receiver/Cargo.toml index 610dea0809..d2c65f3d7b 100644 --- a/contracts/feature-tests/nft-receiver/Cargo.toml +++ b/contracts/feature-tests/nft-receiver/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/nft-receiver/wasm/Cargo.toml b/contracts/feature-tests/nft-receiver/wasm/Cargo.toml index 067a1d6580..1655336e45 100644 --- a/contracts/feature-tests/nft-receiver/wasm/Cargo.toml +++ b/contracts/feature-tests/nft-receiver/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/panic-message-features/Cargo.toml b/contracts/feature-tests/panic-message-features/Cargo.toml index 2665069d8e..d81766caa2 100644 --- a/contracts/feature-tests/panic-message-features/Cargo.toml +++ b/contracts/feature-tests/panic-message-features/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/panic-message-features/wasm/Cargo.toml b/contracts/feature-tests/panic-message-features/wasm/Cargo.toml index 2ac76a1ea1..a9cdca9449 100644 --- a/contracts/feature-tests/panic-message-features/wasm/Cargo.toml +++ b/contracts/feature-tests/panic-message-features/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode", "panic-message"] # <- to get panic messages diff --git a/contracts/feature-tests/payable-features/Cargo.toml b/contracts/feature-tests/payable-features/Cargo.toml index cc6f2febee..b970756167 100644 --- a/contracts/feature-tests/payable-features/Cargo.toml +++ b/contracts/feature-tests/payable-features/Cargo.toml @@ -12,18 +12,18 @@ path = "src/lib.rs" wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/payable-features/abi/Cargo.toml b/contracts/feature-tests/payable-features/abi/Cargo.toml index 2d782c0328..fe5ec7b35b 100644 --- a/contracts/feature-tests/payable-features/abi/Cargo.toml +++ b/contracts/feature-tests/payable-features/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/payable-features/wasm/Cargo.toml b/contracts/feature-tests/payable-features/wasm/Cargo.toml index 294878c763..7d5ec34aba 100644 --- a/contracts/feature-tests/payable-features/wasm/Cargo.toml +++ b/contracts/feature-tests/payable-features/wasm/Cargo.toml @@ -21,7 +21,7 @@ features = ["wasm-output-mode"] default-features = false [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features = ["wasm-output-mode"] diff --git a/contracts/feature-tests/use-module/Cargo.toml b/contracts/feature-tests/use-module/Cargo.toml index 5b19ca3f7b..d482b3376b 100644 --- a/contracts/feature-tests/use-module/Cargo.toml +++ b/contracts/feature-tests/use-module/Cargo.toml @@ -22,43 +22,43 @@ default = [ [dependencies.elrond-wasm-module-features-wasm] package = "elrond-wasm-module-features" -version = "0.15.0" +version = "0.15.1" path = "../../modules/elrond-wasm-module-features" features = ["wasm-output-mode"] optional = true [dependencies.elrond-wasm-module-features-default] package = "elrond-wasm-module-features" -version = "0.15.0" +version = "0.15.1" path = "../../modules/elrond-wasm-module-features" optional = true [dependencies.elrond-wasm-module-pause-wasm] package = "elrond-wasm-module-pause" -version = "0.15.0" +version = "0.15.1" path = "../../modules/elrond-wasm-module-pause" features = ["wasm-output-mode"] optional = true [dependencies.elrond-wasm-module-pause-default] package = "elrond-wasm-module-pause" -version = "0.15.0" +version = "0.15.1" path = "../../modules/elrond-wasm-module-pause" optional = true [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/use-module/abi/Cargo.toml b/contracts/feature-tests/use-module/abi/Cargo.toml index 0ce31a6fbb..4c8a042d92 100644 --- a/contracts/feature-tests/use-module/abi/Cargo.toml +++ b/contracts/feature-tests/use-module/abi/Cargo.toml @@ -9,9 +9,9 @@ publish = false path = ".." [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm" [dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-debug" diff --git a/contracts/feature-tests/use-module/wasm/Cargo.toml b/contracts/feature-tests/use-module/wasm/Cargo.toml index d451e1938a..7812857fc7 100644 --- a/contracts/feature-tests/use-module/wasm/Cargo.toml +++ b/contracts/feature-tests/use-module/wasm/Cargo.toml @@ -21,7 +21,7 @@ default-features = false features=["wasm-output-mode"] [dependencies.elrond-wasm-output] -version = "0.15.0" +version = "0.15.1" path = "../../../../elrond-wasm-output" features=["wasm-output-mode"] diff --git a/contracts/modules/elrond-wasm-module-features/Cargo.toml b/contracts/modules/elrond-wasm-module-features/Cargo.toml index d4fc9dae9e..647dce6f10 100644 --- a/contracts/modules/elrond-wasm-module-features/Cargo.toml +++ b/contracts/modules/elrond-wasm-module-features/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-module-features" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] @@ -17,18 +17,18 @@ categories = ["no-std", "wasm", "cryptography::cryptocurrencies"] wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/modules/elrond-wasm-module-pause/Cargo.toml b/contracts/modules/elrond-wasm-module-pause/Cargo.toml index a7cadf174e..79c10e9a7b 100644 --- a/contracts/modules/elrond-wasm-module-pause/Cargo.toml +++ b/contracts/modules/elrond-wasm-module-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-module-pause" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] @@ -17,18 +17,18 @@ categories = ["no-std", "wasm", "cryptography::cryptocurrencies"] wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/contracts/modules/elrond-wasm-module-users/Cargo.toml b/contracts/modules/elrond-wasm-module-users/Cargo.toml index 62eca8e10b..d63c1d74fa 100644 --- a/contracts/modules/elrond-wasm-module-users/Cargo.toml +++ b/contracts/modules/elrond-wasm-module-users/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-module-users" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] @@ -17,18 +17,18 @@ categories = ["no-std", "wasm", "cryptography::cryptocurrencies"] wasm-output-mode = ["elrond-wasm-node"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm" [dependencies.elrond-wasm-derive] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-derive" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-node" optional = true [dev-dependencies.elrond-wasm-debug] -version = "0.15.0" +version = "0.15.1" path = "../../../elrond-wasm-debug" diff --git a/elrond-wasm-debug/Cargo.toml b/elrond-wasm-debug/Cargo.toml index aa4dc395df..bb8912d7e5 100644 --- a/elrond-wasm-debug/Cargo.toml +++ b/elrond-wasm-debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-debug" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] @@ -23,7 +23,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../elrond-wasm" [dependencies.mandos] diff --git a/elrond-wasm-debug/src/api/send_api_mock.rs b/elrond-wasm-debug/src/api/send_api_mock.rs index fc2c50c0b7..0de640dbb8 100644 --- a/elrond-wasm-debug/src/api/send_api_mock.rs +++ b/elrond-wasm-debug/src/api/send_api_mock.rs @@ -149,6 +149,21 @@ impl SendApi for TxContext { panic!("execute_on_dest_context_raw not implemented yet!"); } + fn execute_on_dest_context_raw_custom_result_range( + &self, + _gas: u64, + _address: &Address, + _value: &RustBigUint, + _function: &[u8], + _arg_buffer: &ArgBuffer, + _range_closure: F, + ) -> Vec + where + F: FnOnce(usize, usize) -> (usize, usize), + { + panic!("execute_on_dest_context_raw_custom_result_range not implemented yet!"); + } + fn execute_on_dest_context_by_caller_raw( &self, _gas: u64, diff --git a/elrond-wasm-derive/Cargo.toml b/elrond-wasm-derive/Cargo.toml index 235340c03e..75fbf164cf 100644 --- a/elrond-wasm-derive/Cargo.toml +++ b/elrond-wasm-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-derive" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] diff --git a/elrond-wasm-node/Cargo.toml b/elrond-wasm-node/Cargo.toml index c094f8f9ff..d27118b900 100644 --- a/elrond-wasm-node/Cargo.toml +++ b/elrond-wasm-node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-node" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] @@ -14,5 +14,5 @@ keywords = ["elrond", "wasm", "webassembly", "blockchain", "contract"] categories = ["no-std", "wasm", "cryptography::cryptocurrencies", "development-tools::ffi"] [dependencies.elrond-wasm] -version = "0.15.0" +version = "0.15.1" path = "../elrond-wasm" diff --git a/elrond-wasm-node/src/api/send_api_node.rs b/elrond-wasm-node/src/api/send_api_node.rs index 6898bb1150..aaa3f94ed9 100644 --- a/elrond-wasm-node/src/api/send_api_node.rs +++ b/elrond-wasm-node/src/api/send_api_node.rs @@ -108,12 +108,7 @@ extern "C" { } impl SendApi for ArwenApiImpl { - fn direct_egld( - &self, - to: &Address, - amount: &ArwenBigUint, - data: &[u8], - ) { + fn direct_egld(&self, to: &Address, amount: &ArwenBigUint, data: &[u8]) { unsafe { let amount_bytes32_ptr = amount.unsafe_buffer_load_be_pad_right(32); let _ = transferValue( @@ -283,6 +278,42 @@ impl SendApi for ArwenApiImpl { } } + fn execute_on_dest_context_raw_custom_result_range( + &self, + gas: u64, + address: &Address, + amount: &ArwenBigUint, + function: &[u8], + arg_buffer: &ArgBuffer, + range_closure: F, + ) -> Vec + where + F: FnOnce(usize, usize) -> (usize, usize), + { + unsafe { + let num_return_data_before = getNumReturnData(); + + let amount_bytes32_ptr = amount.unsafe_buffer_load_be_pad_right(32); + let _ = executeOnDestContext( + gas, + address.as_ref().as_ptr(), + amount_bytes32_ptr, + function.as_ptr(), + function.len() as i32, + arg_buffer.num_args() as i32, + arg_buffer.arg_lengths_bytes_ptr(), + arg_buffer.arg_data_ptr(), + ); + + let num_return_data_after = getNumReturnData(); + let (result_start_index, result_end_index) = range_closure( + num_return_data_before as usize, + num_return_data_after as usize, + ); + get_return_data_range(result_start_index as i32, result_end_index as i32) + } + } + fn execute_on_dest_context_by_caller_raw( &self, gas: u64, diff --git a/elrond-wasm-output/Cargo.toml b/elrond-wasm-output/Cargo.toml index 03a22c6057..79ae31e346 100644 --- a/elrond-wasm-output/Cargo.toml +++ b/elrond-wasm-output/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm-output" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] @@ -27,5 +27,5 @@ panic-message = [] wee_alloc = "0.4" [dependencies.elrond-wasm-node] -version = "0.15.0" +version = "0.15.1" path = "../elrond-wasm-node" diff --git a/elrond-wasm/Cargo.toml b/elrond-wasm/Cargo.toml index f43a8ae856..6b17f4b843 100644 --- a/elrond-wasm/Cargo.toml +++ b/elrond-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elrond-wasm" -version = "0.15.0" +version = "0.15.1" edition = "2018" authors = ["Andrei Marinica ", "Elrond Network "] diff --git a/elrond-wasm/src/api/send_api.rs b/elrond-wasm/src/api/send_api.rs index e08259b4a4..0dcfbb6146 100644 --- a/elrond-wasm/src/api/send_api.rs +++ b/elrond-wasm/src/api/send_api.rs @@ -142,6 +142,7 @@ where arg_buffer: &ArgBuffer, ) -> Address; + /// Same shard, in-line execution of another contract. fn execute_on_dest_context_raw( &self, gas: u64, @@ -151,6 +152,25 @@ where arg_buffer: &ArgBuffer, ) -> Vec; + /// Same shard, in-line execution of another contract. + /// Allows the contract to specify which result range to extract as sync call result. + /// This is a workaround to handle nested sync calls. + /// Please do not use this method unless there is absolutely no other option. + /// Will be eliminated after some future Arwen hook redesign. + /// `range_closure` takes the number of results before, the number of results after, + /// and is expected to return the start index (inclusive) and end index (exclusive). + fn execute_on_dest_context_raw_custom_result_range( + &self, + gas: u64, + address: &Address, + value: &BigUint, + function: &[u8], + arg_buffer: &ArgBuffer, + range_closure: F, + ) -> Vec + where + F: FnOnce(usize, usize) -> (usize, usize); + fn execute_on_dest_context_by_caller_raw( &self, gas: u64, diff --git a/elrond-wasm/src/types/interaction/contract_call.rs b/elrond-wasm/src/types/interaction/contract_call.rs index 212097e352..551cd856ed 100644 --- a/elrond-wasm/src/types/interaction/contract_call.rs +++ b/elrond-wasm/src/types/interaction/contract_call.rs @@ -156,4 +156,35 @@ where let mut loader = BytesArgLoader::new(raw_result.as_slice(), api); R::dyn_load(&mut loader, ArgId::from(&b"sync result"[..])) } + + /// Executes immediately, synchronously, and returns contract call result. + /// Only works if the target contract is in the same shard. + /// This is a workaround to handle nested sync calls. + /// Please do not use this method unless there is absolutely no other option. + /// Will be eliminated after some future Arwen hook redesign. + /// `range_closure` takes the number of results before, the number of results after, + /// and is expected to return the start index (inclusive) and end index (exclusive). + pub fn execute_on_dest_context_custom_range( + mut self, + gas: u64, + range_closure: F, + api: SA, + ) -> R + where + SA: SendApi, + F: FnOnce(usize, usize) -> (usize, usize), + { + self = self.convert_to_esdt_transfer_call(); + let raw_result = api.execute_on_dest_context_raw_custom_result_range( + gas, + &self.to, + &self.payment, + self.endpoint_name.as_slice(), + &self.arg_buffer, + range_closure, + ); + + let mut loader = BytesArgLoader::new(raw_result.as_slice(), api); + R::dyn_load(&mut loader, ArgId::from(&b"sync result"[..])) + } }