Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Sep 26, 2024
1 parent 3032932 commit cd71b6b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions integration_tests/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,18 @@ def tx_search_rpc(self, criteria: str, order=None):
assert "error" not in rsp, rsp["error"]
return rsp["result"]["txs"]

def query_account(self, addr, **kwargs):
return json.loads(
self.raw(
"query",
"auth",
"account",
addr,
home=self.data_dir,
**kwargs,
)
)

def distribution_commission(self, addr):
coin = json.loads(
self.raw(
Expand Down

0 comments on commit cd71b6b

Please sign in to comment.