Skip to content

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 31, 2024
1 parent 3fea0bd commit 54448f2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions integration_tests/test_ibc_extended.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def cluster(worker_index, pytestconfig, tmp_path_factory):
)


def fund_community_pool(self, amt, event_query_tx=True, **kwargs):
rsp = json.loads(
def fund_community_pool(self, amt, **kwargs):
return json.loads(
self.raw(
"tx",
"distribution",
Expand All @@ -36,9 +36,6 @@ def fund_community_pool(self, amt, event_query_tx=True, **kwargs):
**kwargs,
)
)
if rsp["code"] == 0 and event_query_tx:
rsp = self.event_query_tx_for(rsp["txhash"])
return rsp


# 3 accounts ibc test
Expand Down Expand Up @@ -107,6 +104,7 @@ def test_ibc_extended(cluster):
fund_community_pool(
cluster["ibc-1"].cosmos_cli(), f"{amt3}{ibc_denom}", from_=addr_1
)
time.sleep(10)
assert cluster["ibc-1"].supply("liquid") == {

Check failure on line 108 in integration_tests/test_ibc_extended.py

View workflow job for this annotation

GitHub Actions / test-ibc

test_ibc_extended AssertionError: assert {'supply': [{...1A01611F86'}]} == {'supply': [{...': 'ibcfee'}]} Differing items: {'supply': [{'amount': '30000000000', 'denom': 'basecro'}, {'amount': '9944', 'denom': 'ibc/6411AE2ADA1E73DB59DB151A8988F9B7D5E7E233D8414DB6817F8F1A01611F86'}]} != {'supply': [{'amount': '260000000000', 'denom': 'basecro'}, {'amount': '9944', 'denom': 'ibc/6411AE2ADA1E73DB59DB151A8988F9B7D5E7E233D8414DB6817F8F1A01611F86'}, {'amount': '100000000000', 'denom': 'ibcfee'}]} Full diff: { - 'supply': [{'amount': '260000000000', ? ^^ + 'supply': [{'amount': '30000000000', ? ^ 'denom': 'basecro'}, {'amount': '9944', - 'denom': 'ibc/6411AE2ADA1E73DB59DB151A8988F9B7D5E7E233D8414DB6817F8F1A01611F86'}, + 'denom': 'ibc/6411AE2ADA1E73DB59DB151A8988F9B7D5E7E233D8414DB6817F8F1A01611F86'}], ? + - {'amount': '100000000000', - 'denom': 'ibcfee'}], }
"supply": [
{"denom": denom, "amount": "260000000000"},
Expand Down

0 comments on commit 54448f2

Please sign in to comment.