mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Remove unnecessary prefix from options
This commit is contained in:
parent
13767ef07e
commit
e20a95c442
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user