Skip to content

Commit

Permalink
Remove unnecessary prefix from options
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Apr 17, 2024
1 parent 13767ef commit e20a95c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ describe("SigningCosmWasmClient", () => {
it("works with legacy Amino signer (instantiatePermission set)", async () => {
pendingWithoutWasmd();
const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix });
const options = { ...defaultSigningClientOptions, prefix: wasmd.prefix };
const client = await SigningCosmWasmClient.connectWithSigner(wasmd.endpoint, wallet, options);
const client = await SigningCosmWasmClient.connectWithSigner(
wasmd.endpoint,
wallet,
defaultSigningClientOptions,
);
const wasm = getHackatom().data;
const instantiatePermission: AccessConfig = {
permission: AccessType.ACCESS_TYPE_EVERYBODY,
Expand Down

0 comments on commit e20a95c

Please sign in to comment.