mirror of
https://github.com/status-im/dagger-contracts.git
synced 2025-01-27 06:45:53 +00:00
Waits for token mint transaction.
This commit is contained in:
parent
f69f9cf7fe
commit
ff6eb147c6
@ -9,9 +9,9 @@ module.exports = async ({ deployments, getNamedAccounts, getUnnamedAccounts }) =
|
||||
for (const account of accounts) {
|
||||
console.log(`Minting ${MINTED_TOKENS} tokens to address ${account}`)
|
||||
|
||||
await token.mint(account, MINTED_TOKENS, { from: deployer })
|
||||
const transaction = await token.mint(account, MINTED_TOKENS, { from: deployer })
|
||||
await transaction.wait()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports.tags = ["TestToken"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user