From abdbedebc4fd31d89a0241175f20431ee9eb0801 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 25 Apr 2024 12:37:35 -0300 Subject: [PATCH] (fix) Updated IBC Core Connection params request example script --- .../ibc/connection/query/6_ConnectionParams.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/chain_client/ibc/connection/query/6_ConnectionParams.py b/examples/chain_client/ibc/connection/query/6_ConnectionParams.py index d541b502..88cb73bf 100644 --- a/examples/chain_client/ibc/connection/query/6_ConnectionParams.py +++ b/examples/chain_client/ibc/connection/query/6_ConnectionParams.py @@ -10,14 +10,8 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) - connection_id = "connection-0" - revision_number = 0 - revision_height = 7379538 - - state = await client.fetch_ibc_connection_consensus_state( - connection_id=connection_id, revision_number=revision_number, revision_height=revision_height - ) - print(state) + params = await client.fetch_ibc_connection_params() + print(params) if __name__ == "__main__":