File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,15 @@ async function main() {
19
19
console . log ( 'Deploying SBT implementation...' )
20
20
const sbtFactory = await ethers . getContractFactory ( 'SBT' )
21
21
const sbtImplementation = await sbtFactory . deploy ( )
22
+ const sbtImplementationDeployTxn = sbtImplementation . deployTransaction
23
+ console . log (
24
+ ` - SBT implementation deploying at txn hash:${ sbtImplementationDeployTxn . hash } `
25
+ )
22
26
await sbtImplementation . deployed ( )
23
27
console . log (
24
28
` - SBT implementation deployed at address:${ sbtImplementation . address } `
25
29
)
30
+ await sbtImplementationDeployTxn . wait ( 2 )
26
31
console . log ( )
27
32
28
33
// >>> Deploy SBTProxy >>>
@@ -33,8 +38,13 @@ async function main() {
33
38
proxyAdmin ,
34
39
ethers . utils . arrayify ( '0x' )
35
40
)
41
+ const sbtProxyInstanceDeployTxn = sbtProxyInstance . deployTransaction
42
+ console . log (
43
+ ` - SBT proxy deploying at txn hash:${ sbtProxyInstanceDeployTxn . hash } `
44
+ )
36
45
await sbtProxyInstance . deployed ( )
37
46
console . log ( ` - SBT proxy deployed at address:${ sbtProxyInstance . address } ` )
47
+ await sbtProxyInstanceDeployTxn . wait ( 2 )
38
48
console . log ( )
39
49
40
50
// >>> Initialize SBT Proxy >>>
You can’t perform that action at this time.
0 commit comments