Skip to content

Commit

Permalink
Problem: reopen ica account is not tested (#1234)
Browse files Browse the repository at this point in the history
* Problem: reopen ica account is not tested

* larger timeout to avoid reject tx by relayer

* fix check log

* Update integration_tests/test_ica_precompile.py

Co-authored-by: yihuang <huang@crypto.com>
Signed-off-by: mmsqe <mavis@crypto.com>

* clean up

* test channel close with large txs

* point to log level

* point to chain-main with ibc-go 5.0.0

* point to fix close confirm in rly

* update rly

---------

Signed-off-by: mmsqe <mavis@crypto.com>
Co-authored-by: yihuang <huang@crypto.com>
  • Loading branch information
mmsqe and yihuang authored Nov 13, 2023
1 parent 376da21 commit e7a8ea8
Show file tree
Hide file tree
Showing 6 changed files with 226 additions and 78 deletions.
6 changes: 3 additions & 3 deletions integration_tests/ibc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ def check_contract_balance_change():
return amount, contract.address


def wait_for_check_channel_ready(cli, connid, channel_id):
print("wait for channel ready", channel_id)
def wait_for_check_channel_ready(cli, connid, channel_id, target="STATE_OPEN"):
print("wait for channel ready", channel_id, target)

def check_channel_ready():
channels = cli.ibc_query_channels(connid)["channels"]
Expand All @@ -589,7 +589,7 @@ def check_channel_ready():
)
except StopIteration:
return False
return state == "STATE_OPEN"
return state == target

wait_for_fn("channel ready", check_channel_ready)

Expand Down
Loading

0 comments on commit e7a8ea8

Please sign in to comment.