cosmwasm-stargate: Update for InstantiateOptions.funds
This commit is contained in:
parent
eca225530f
commit
ba0a4411dd
@ -273,7 +273,7 @@ describe("SigningCosmWasmClient", () => {
|
||||
"My cool label",
|
||||
{
|
||||
memo: "Let's see if the memo is used",
|
||||
transferAmount: funds,
|
||||
funds: funds,
|
||||
},
|
||||
);
|
||||
const wasmClient = await makeWasmClient(wasmd.endpoint);
|
||||
@ -454,7 +454,7 @@ describe("SigningCosmWasmClient", () => {
|
||||
},
|
||||
"amazing random contract",
|
||||
{
|
||||
transferAmount: funds,
|
||||
funds: funds,
|
||||
},
|
||||
);
|
||||
// execute
|
||||
|
||||
@ -245,7 +245,7 @@ export class SigningCosmWasmClient extends CosmWasmClient {
|
||||
codeId: Long.fromString(new Uint53(codeId).toString()),
|
||||
label: label,
|
||||
initMsg: toUtf8(JSON.stringify(msg)),
|
||||
funds: [...(options.transferAmount || [])],
|
||||
funds: [...(options.funds || [])],
|
||||
admin: options.admin,
|
||||
}),
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user