From 550be45b5e13bbe540549665a0090f5e726d9523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Mon, 8 Apr 2024 14:23:48 +0300 Subject: [PATCH 1/4] Fix contract report: twiggy dependency is managed by "deps rust". --- .../projects/report/features/twiggy_paths_check.py | 1 - 1 file changed, 1 deletion(-) diff --git a/multiversx_sdk_cli/projects/report/features/twiggy_paths_check.py b/multiversx_sdk_cli/projects/report/features/twiggy_paths_check.py index 8d8cbab3..31fa51ff 100644 --- a/multiversx_sdk_cli/projects/report/features/twiggy_paths_check.py +++ b/multiversx_sdk_cli/projects/report/features/twiggy_paths_check.py @@ -31,7 +31,6 @@ def run_twiggy_paths(wasm_path: Path) -> Path: rust = dependencies.get_module_by_key("rust") debug_wasm_path = _get_debug_wasm_path(wasm_path) - dependencies.install_module("twiggy") twiggy_paths_args = ["twiggy", "paths", str(debug_wasm_path)] output = myprocess.run_process(twiggy_paths_args, env=rust.get_env(), cwd=debug_wasm_path.parent, dump_to_stdout=False) From 65cf8b8681b7330f2cb962dc41c1a7d2d14a3fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Mon, 8 Apr 2024 14:24:14 +0300 Subject: [PATCH 2/4] Bump version. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7c281509..6db71980 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "multiversx-sdk-cli" -version = "9.5.2" +version = "9.5.3" authors = [ { name="MultiversX" }, ] From 129e3c76d09410ec4a95e5b33cb28cdfae4d5fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Mon, 8 Apr 2024 14:44:17 +0300 Subject: [PATCH 3/4] Fix tests. --- multiversx_sdk_cli/tests/test_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiversx_sdk_cli/tests/test_proxy.py b/multiversx_sdk_cli/tests/test_proxy.py index e49cb06c..c6f96e28 100644 --- a/multiversx_sdk_cli/tests/test_proxy.py +++ b/multiversx_sdk_cli/tests/test_proxy.py @@ -48,9 +48,9 @@ def test_get_transaction(): "tx", "get", "--proxy", - "https://testnet-api.multiversx.com", + "https://devnet-api.multiversx.com", "--hash", - "bf63fdd7d74cbc78f1ec0fbad05f156984a5c995b782e1947352210dd80c5164", + "06f381ee88ed27ba08a35f995f17dceb737e1a99c5c4da0c247bbe7aa1d18551", ] ) assert False if result else True From 7dbb124fb2cacb93e0df03bae183f15d96a14b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Mon, 8 Apr 2024 14:55:56 +0300 Subject: [PATCH 4/4] Fix test. --- multiversx_sdk_cli/tests/test_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiversx_sdk_cli/tests/test_proxy.py b/multiversx_sdk_cli/tests/test_proxy.py index c6f96e28..969aecd2 100644 --- a/multiversx_sdk_cli/tests/test_proxy.py +++ b/multiversx_sdk_cli/tests/test_proxy.py @@ -32,11 +32,11 @@ def test_query_contract(): [ "contract", "query", - "erd1qqqqqqqqqqqqqpgq8z2zzyu30f4607hth0tfj5m3vpjvwrvvrawqw09jem", + "erd1qqqqqqqqqqqqqpgq6qr0w0zzyysklfneh32eqp2cf383zc89d8sstnkl60", "--function", "getSum", "--proxy", - "https://testnet-api.multiversx.com", + "https://devnet-api.multiversx.com", ] ) assert False if result else True