Skip to content

Commit

Permalink
update cli
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jul 22, 2024
1 parent 3feadbb commit 6ddfe76
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions integration_tests/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,8 @@ def icaauth_register_account(self, connid, **kwargs):
rsp = json.loads(
self.raw(
"tx",
"icaauth",
"register-account",
"interchain-accounts", "controller",

Check failure on line 1299 in integration_tests/cosmoscli.py

View workflow job for this annotation

GitHub Actions / Lint python

./integration_tests/cosmoscli.py:1299:39: BLK100 Black would make changes.
"register",
connid,
"-y",
**(default_kwargs | kwargs),
Expand All @@ -1317,8 +1317,8 @@ def icaauth_submit_tx(self, connid, tx, timeout_duration="1h", **kwargs):
rsp = json.loads(
self.raw(
"tx",
"icaauth",
"submit-tx",
"interchain-accounts", "controller",
"send-tx",
connid,
tx,
"--timeout-duration" if timeout_duration else None,
Expand Down Expand Up @@ -1364,8 +1364,8 @@ def ica_query_account(self, connid, owner, **kwargs):
return json.loads(
self.raw(
"q",
"icaauth",
"interchain-account-address",
"interchain-accounts", "controller",
"interchain-account",
connid,
owner,
**(default_kwargs | kwargs),
Expand Down Expand Up @@ -1487,20 +1487,6 @@ def ibc_update_client_with_header(self, client_id, header, **kwargs):
)
)

def query_icaauth_params(self, **kwargs):
default_kwargs = {
"node": self.node_rpc,
"output": "json",
}
return json.loads(
self.raw(
"q",
"icaauth",
"params",
**(default_kwargs | kwargs),
)
)

def query_icacontroller_params(self, **kwargs):
default_kwargs = {
"node": self.node_rpc,
Expand Down

0 comments on commit 6ddfe76

Please sign in to comment.