diff --git a/scripts/wasmd/deploy_erc20.js b/scripts/wasmd/deploy_erc20.js index 770f6e2ca8..12db423980 100755 --- a/scripts/wasmd/deploy_erc20.js +++ b/scripts/wasmd/deploy_erc20.js @@ -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}`); } } diff --git a/scripts/wasmd/deploy_nameservice.js b/scripts/wasmd/deploy_nameservice.js index 354162d425..023c8b4b4e 100755 --- a/scripts/wasmd/deploy_nameservice.js +++ b/scripts/wasmd/deploy_nameservice.js @@ -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}`); } }