mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Proper label for the init.sh contracts
This commit is contained in:
parent
365c1a0e66
commit
a22d0c1947
@ -77,7 +77,7 @@ async function main() {
|
||||
|
||||
for (const initMsg of [initMsgHash, initMsgIsa, initMsgJade]) {
|
||||
const memo = `Create an ERC20 instance for ${initMsg.symbol}`;
|
||||
const contractAddress = await client.instantiate(uploadReceipt.codeId, initMsg, memo);
|
||||
const contractAddress = await client.instantiate(uploadReceipt.codeId, initMsg, initMsg.symbol, memo);
|
||||
console.info(`Contract instantiated for ${initMsg.symbol} at ${contractAddress}`);
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ async function main() {
|
||||
|
||||
for (const initMsg of [initFree, initLuxury]) {
|
||||
const memo = `Create an nameservice instance for ${initMsg.name}`;
|
||||
const contractAddress = await client.instantiate(uploadReceipt.codeId, initMsg, memo);
|
||||
const contractAddress = await client.instantiate(uploadReceipt.codeId, initMsg, initMsg.name, memo);
|
||||
console.info(`Contract instantiated for ${initMsg.name} at ${contractAddress}`);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user