From feaab02488a3a89c4070d8743cc21e30059e450f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 8 Nov 2023 00:10:44 +0200 Subject: [PATCH 1/3] Adjust constraints of dependencies (sdk-network-providers). --- pyproject.toml | 4 ++-- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cec19286..f76d5e03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "multiversx-sdk-cli" -version = "8.1.5" +version = "8.1.6" authors = [ { name="MultiversX" }, ] @@ -27,7 +27,7 @@ dependencies = [ "semver", "requests-cache", "rich==13.3.4", - "multiversx-sdk-network-providers>=0.11.0", + "multiversx-sdk-network-providers>=0.11.0, <0.12.0", "multiversx-sdk-wallet>=0.7.0, <0.8.0", "multiversx-sdk-core==0.6.0" ] diff --git a/requirements.txt b/requirements.txt index 1038a8ac..3e411586 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,5 +10,5 @@ requests-cache rich==13.3.4 multiversx-sdk-core==0.6.0 -multiversx-sdk-network-providers>=0.11.0 -multiversx-sdk-wallet>=0.7.0, < 0.8.0 +multiversx-sdk-network-providers>=0.11.0, <0.12.0 +multiversx-sdk-wallet>=0.7.0, <0.8.0 From 882ed4a5c84bdcb7768726afb1ca632b4cc275a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 8 Nov 2023 10:20:22 +0200 Subject: [PATCH 2/3] Adjust tests. --- multiversx_sdk_cli/tests/shared.sh | 2 +- multiversx_sdk_cli/tests/test_proxy.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multiversx_sdk_cli/tests/shared.sh b/multiversx_sdk_cli/tests/shared.sh index 57f3dda8..8ca40072 100755 --- a/multiversx_sdk_cli/tests/shared.sh +++ b/multiversx_sdk_cli/tests/shared.sh @@ -16,7 +16,7 @@ PROXY="${PROXY:-http://localhost:7950}" CHAIN_ID="${CHAIN_ID:-localnet}" TestUser=./testdata/testUser.pem TestUser2=./testdata/testUser2.pem -RUST_VERSION="nightly-2023-04-24" +RUST_VERSION="nightly-2023-05-26" cleanSandbox() { rm -rf ${SANDBOX} diff --git a/multiversx_sdk_cli/tests/test_proxy.py b/multiversx_sdk_cli/tests/test_proxy.py index cf570768..f781eb86 100644 --- a/multiversx_sdk_cli/tests/test_proxy.py +++ b/multiversx_sdk_cli/tests/test_proxy.py @@ -36,7 +36,7 @@ def test_query_contract(): [ "contract", "query", - "erd1qqqqqqqqqqqqqpgquykqja5c4v33zdmnwglj3jphqwrelzdn396qlc9g33", + "erd1qqqqqqqqqqqqqpgqpuz9r56ylk39x45cgqmaw2w8hfn47ft3d8ssavktr5", "--function", "getSum", "--proxy", @@ -57,7 +57,7 @@ def test_get_transaction(): "--proxy", "https://devnet-api.multiversx.com", "--hash", - "cbe2026b8d9c3ee75f2846ea8e0b646b19e6fca754e43edb4113757fc3350952", + "9e6ca966b18dc0317ff3be9b53be183ddb068a163769d286b2c1b1dff3ac00e5", ] ) From 8d9affea384a79a4cea985fc8979893e2c4de707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 8 Nov 2023 10:41:18 +0200 Subject: [PATCH 3/3] Adjust test. --- multiversx_sdk_cli/tests/test_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiversx_sdk_cli/tests/test_proxy.py b/multiversx_sdk_cli/tests/test_proxy.py index f781eb86..a0ac0d94 100644 --- a/multiversx_sdk_cli/tests/test_proxy.py +++ b/multiversx_sdk_cli/tests/test_proxy.py @@ -28,7 +28,7 @@ def test_sync_nonce(): proxy = ProxyNetworkProvider("https://devnet-api.multiversx.com") account.sync_nonce(proxy) - assert account.nonce >= 11480 + assert account.nonce >= 42 def test_query_contract():