From 795268d7bc8c3aeba576fd8a9a796ec10db9e972 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 8 Nov 2024 11:24:26 +0800 Subject: [PATCH] fix --- integration_tests/test_basic.py | 11 +++++------ store/go.mod | 3 +-- versiondb/go.mod | 2 -- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/integration_tests/test_basic.py b/integration_tests/test_basic.py index b267746806..8f5f5adbc4 100644 --- a/integration_tests/test_basic.py +++ b/integration_tests/test_basic.py @@ -797,12 +797,11 @@ def test_failed_transfer_tx(cronos): assert not result["failed"] assert receipt.gasUsed == result["gas"] else: - assert rsp["error"] == { - "code": -32000, - "message": ( - "rpc error: code = Internal desc = " - "insufficient balance for transfer" - ), + assert rsp["result"] == { + "failed": False, + "gas": 21000, + "returnValue": "", + "structLogs": [], } diff --git a/store/go.mod b/store/go.mod index 75a681231c..9305a54ca9 100644 --- a/store/go.mod +++ b/store/go.mod @@ -1,7 +1,6 @@ module github.com/crypto-org-chain/cronos/store -go 1.22 -toolchain go1.22.8 +go 1.22.7 require ( cosmossdk.io/errors v1.0.1 diff --git a/versiondb/go.mod b/versiondb/go.mod index a1dfb84a67..3971983ea3 100644 --- a/versiondb/go.mod +++ b/versiondb/go.mod @@ -2,8 +2,6 @@ module github.com/crypto-org-chain/cronos/versiondb go 1.22 -toolchain go1.22.0 - require ( cosmossdk.io/errors v1.0.1 cosmossdk.io/log v1.3.1