Skip to content

Commit

Permalink
seems that txsQuery doesn't work for a SecretNetworkClient that has a…
Browse files Browse the repository at this point in the history
…minoWallet in it, this is a temporary fix
  • Loading branch information
eshelB committed Jun 14, 2023
1 parent f83f47d commit b8202d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/ibc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}'`,
);

Expand Down

0 comments on commit b8202d2

Please sign in to comment.