Skip to content

Commit

Permalink
test: update import to proto-signing to create client
Browse files Browse the repository at this point in the history
  • Loading branch information
hemz10 committed Jan 24, 2024
1 parent fea9a1b commit 7eb4bfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/cosmos/helper.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand All @@ -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();
Expand Down

0 comments on commit 7eb4bfb

Please sign in to comment.