Whenever I try to deploy a contract I get an error saying -- Promise { <pending> } #5669
Replies: 3 comments 2 replies
-
Use |
Beta Was this translation helpful? Give feedback.
-
Hi,
You can add then :
|
Beta Was this translation helpful? Give feedback.
-
use this console.log("Whitelist Contract Address:", await deployedWhitelistContract.getAddress()); instead of console.log("Whitelist Contract Address:", deployedWhitelistContract.getAddress()); |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
my deploy.js code is below:
I'm not sure how I can fix this, the promise remains pending for hours
Beta Was this translation helpful? Give feedback.
All reactions