From b8202d207e5859d51070cabcd6038a815362428d Mon Sep 17 00:00:00 2001 From: Eshel Date: Wed, 14 Jun 2023 13:12:17 +0300 Subject: [PATCH] seems that txsQuery doesn't work for a SecretNetworkClient that has aminoWallet in it, this is a temporary fix --- test/ibc.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/ibc.test.ts b/test/ibc.test.ts index 876051d3..878b9d18 100644 --- a/test/ibc.test.ts +++ b/test/ibc.test.ts @@ -420,7 +420,11 @@ describe("ibcResponses", () => { } expect(tx.code).toBe(TxResultCode.Success); - const txs = await secretjs.query.txsQuery( + const readonly = new SecretNetworkClient({ + chainId: "secretdev-1", + url: "http://localhost:1317", + }); + const txs = await readonly.query.txsQuery( `tx.hash='${tx.transactionHash}'`, );