From 282a688f9a654e6ad4fe8732a646c42a1597b4c5 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Thu, 2 Nov 2023 15:27:19 +0200 Subject: [PATCH 1/5] fix core package version --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d5d7ae7c..cec19286 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "multiversx-sdk-cli" -version = "8.1.4" +version = "8.1.5" authors = [ { name="MultiversX" }, ] @@ -29,7 +29,7 @@ dependencies = [ "rich==13.3.4", "multiversx-sdk-network-providers>=0.11.0", "multiversx-sdk-wallet>=0.7.0, <0.8.0", - "multiversx-sdk-core>=0.5.0" + "multiversx-sdk-core==0.6.0" ] [tool.hatch.build] 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 2/5] 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 3/5] 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 4/5] 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(): From 8c2e17839e4f20132e6450916853008f4e3f7f1e Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Wed, 22 Nov 2023 10:10:18 +0200 Subject: [PATCH 5/5] bump version and update dependencies --- pyproject.toml | 8 ++++---- requirements.txt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 979d699f..1b9477cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "multiversx-sdk-cli" -version = "9.0.0b1" +version = "9.0.0" authors = [ { name="MultiversX" }, ] @@ -27,9 +27,9 @@ dependencies = [ "semver", "requests-cache", "rich==13.3.4", - "multiversx-sdk-network-providers<0.13.0", - "multiversx-sdk-wallet<0.9.0,", - "multiversx-sdk-core<0.8.0" + "multiversx-sdk-network-providers>=0.12.0,<0.13.0", + "multiversx-sdk-wallet>=0.8.0,<0.9.0,", + "multiversx-sdk-core>=0.7.0,<0.8.0" ] [tool.hatch.build] diff --git a/requirements.txt b/requirements.txt index ea54e91b..028aa23d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,6 @@ semver requests-cache rich==13.3.4 -multiversx-sdk-core<0.8.0 -multiversx-sdk-network-providers<0.13.0 -multiversx-sdk-wallet<0.9.0 +multiversx-sdk-core>=0.7.0,<0.8.0 +multiversx-sdk-network-providers>=0.12.0,<0.13.0 +multiversx-sdk-wallet>=0.8.0,<0.9.0