From 6ddfe76090a15996269a5b210521b4d874129f2f Mon Sep 17 00:00:00 2001 From: huangyi Date: Mon, 22 Jul 2024 13:07:52 +0800 Subject: [PATCH] update cli --- integration_tests/cosmoscli.py | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/integration_tests/cosmoscli.py b/integration_tests/cosmoscli.py index a34cb9df7f..495b5c692d 100644 --- a/integration_tests/cosmoscli.py +++ b/integration_tests/cosmoscli.py @@ -1296,8 +1296,8 @@ def icaauth_register_account(self, connid, **kwargs): rsp = json.loads( self.raw( "tx", - "icaauth", - "register-account", + "interchain-accounts", "controller", + "register", connid, "-y", **(default_kwargs | kwargs), @@ -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, @@ -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), @@ -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,