From 947abe0dd4a98b1ad4609a474032da0c140c3473 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 27 Sep 2023 18:01:02 +0800 Subject: [PATCH] fix test --- integration_tests/test_ica_precompile.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/integration_tests/test_ica_precompile.py b/integration_tests/test_ica_precompile.py index 312759d980..51dab1cd8b 100644 --- a/integration_tests/test_ica_precompile.py +++ b/integration_tests/test_ica_precompile.py @@ -192,8 +192,7 @@ def submit_msgs_ro(func, str): assert tcontract.caller.getLastAckSeq() == seq balance -= amt ack = tcontract.caller.getLastAck() - assert ack == b"\x12&\n$/cosmos.bank.v1beta1.MsgSendResponse", ack - assert ack == tcontract.caller.acknowledgement(seq) + assert ack == tcontract.caller.acknowledgement(seq), ack assert cli_host.balance(ica_address, denom=denom) == balance seq = 2 str = submit_msgs( @@ -209,6 +208,4 @@ def submit_msgs_ro(func, str): balance -= amt balance -= amt1 assert cli_host.balance(ica_address, denom=denom) == balance - ack = tcontract.caller.getLastAck() - expected = b"\x12&\n$/cosmos.bank.v1beta1.MsgSendResponse\x12-\n+/cosmos.staking.v1beta1.MsgDelegateResponse" # noqa: E501 - assert ack == expected, ack + assert ack == tcontract.caller.acknowledgement(seq), ack