From 7eb4bfb107a81a73c6c5102662e400e65b632bf1 Mon Sep 17 00:00:00 2001 From: hemz10 Date: Wed, 24 Jan 2024 10:43:37 +0530 Subject: [PATCH] test: update import to proto-signing to create client --- test/scripts/cosmos/helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts/cosmos/helper.ts b/test/scripts/cosmos/helper.ts index 00d4e028..f1b658a5 100644 --- a/test/scripts/cosmos/helper.ts +++ b/test/scripts/cosmos/helper.ts @@ -1,6 +1,6 @@ import { GasPrice } from "@cosmjs/stargate"; import { exec } from "child_process"; -import { Secp256k1HdWallet } from "@cosmjs/launchpad"; +import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing" import { SigningCosmWasmClient } from "@cosmjs/cosmwasm-stargate"; import { Deployments } from "../setup/config"; @@ -12,7 +12,7 @@ export async function CreateSigningClient( endpoint: string ): Promise<[SigningCosmWasmClient, string]> { - const wallet = await Secp256k1HdWallet.fromMnemonic(mnemonic, { prefix: prefix }); + const wallet = await DirectSecp256k1HdWallet.fromMnemonic(mnemonic, { prefix: prefix }); // Get account address const accounts = await wallet.getAccounts();