Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Sep 27, 2023
1 parent 067ac47 commit 947abe0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions integration_tests/test_ica_precompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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

0 comments on commit 947abe0

Please sign in to comment.