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 0702b81
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 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,10 +104,10 @@ 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") == {
"supply": [
{"denom": denom, "amount": "260000000000"},
{"denom": denom, "amount": "30000000000"},
{"denom": ibc_denom, "amount": f"{amt - amt2 - amt3}"},
{"denom": "ibcfee", "amount": "100000000000"},
]
}

0 comments on commit 0702b81

Please sign in to comment.