Skip to content

Commit e64a41d

Browse files
author
Yash Agrawal
committed
feat: minor fixes
1 parent f7b396c commit e64a41d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/deploy.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@ async function main() {
1919
console.log('Deploying SBT implementation...')
2020
const sbtFactory = await ethers.getContractFactory('SBT')
2121
const sbtImplementation = await sbtFactory.deploy()
22+
const sbtImplementationDeployTxn = sbtImplementation.deployTransaction
23+
console.log(
24+
` - SBT implementation deploying at txn hash:${sbtImplementationDeployTxn.hash}`
25+
)
2226
await sbtImplementation.deployed()
2327
console.log(
2428
` - SBT implementation deployed at address:${sbtImplementation.address}`
2529
)
30+
await sbtImplementationDeployTxn.wait(2)
2631
console.log()
2732

2833
// >>> Deploy SBTProxy >>>
@@ -33,8 +38,13 @@ async function main() {
3338
proxyAdmin,
3439
ethers.utils.arrayify('0x')
3540
)
41+
const sbtProxyInstanceDeployTxn = sbtProxyInstance.deployTransaction
42+
console.log(
43+
` - SBT proxy deploying at txn hash:${sbtProxyInstanceDeployTxn.hash}`
44+
)
3645
await sbtProxyInstance.deployed()
3746
console.log(` - SBT proxy deployed at address:${sbtProxyInstance.address}`)
47+
await sbtProxyInstanceDeployTxn.wait(2)
3848
console.log()
3949

4050
// >>> Initialize SBT Proxy >>>

0 commit comments

Comments
 (0)