From 545251dad8f097b05a640e84068c8092174348c5 Mon Sep 17 00:00:00 2001 From: Yash Agrawal Date: Tue, 26 Mar 2024 16:22:31 +0530 Subject: [PATCH] feat: minor fixes --- scripts/deploySBTFactory.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/deploySBTFactory.ts b/scripts/deploySBTFactory.ts index 478221c..8e8da87 100644 --- a/scripts/deploySBTFactory.ts +++ b/scripts/deploySBTFactory.ts @@ -11,8 +11,11 @@ async function main() { console.log('Deploying SBTFactory...') const sbtFactoryFactory = await ethers.getContractFactory('SBTFactory') const sbtFactoryInstance = await sbtFactoryFactory.deploy() + const sbtFactoryInstanceDeployTxn = sbtFactoryInstance.deployTransaction + console.log(` - SBTFactory deploying at txn:${sbtFactoryInstanceDeployTxn.hash}`) await sbtFactoryInstance.deployed() console.log(` - SBTFactory deployed at address:${sbtFactoryInstance.address}`) + await sbtFactoryInstanceDeployTxn.wait(2) console.log() // >>> Verify SBTFactory code >>>