@@ -2,7 +2,7 @@ import { task } from 'hardhat/config'
2
2
import { cliOpts } from '../../cli/defaults'
3
3
import GraphChain from '../../gre/helpers/network'
4
4
5
- task ( 'migrate:unpause' , 'Unpause protocol (except bridge)' )
5
+ task ( 'migrate:unpause:protocol ' , 'Unpause protocol (except bridge)' )
6
6
. addOptionalParam ( 'addressBook' , cliOpts . addressBook . description )
7
7
. addOptionalParam ( 'graphConfig' , cliOpts . graphConfig . description )
8
8
. setAction ( async ( taskArgs , hre ) => {
@@ -17,7 +17,7 @@ task('migrate:unpause', 'Unpause protocol (except bridge)')
17
17
console . log ( 'Done!' )
18
18
} )
19
19
20
- task ( 'migrate:unpause- bridge' , 'Unpause bridge' )
20
+ task ( 'migrate:unpause: bridge' , 'Unpause bridge' )
21
21
. addOptionalParam ( 'addressBook' , cliOpts . addressBook . description )
22
22
. addOptionalParam ( 'graphConfig' , cliOpts . graphConfig . description )
23
23
. setAction ( async ( taskArgs , hre ) => {
@@ -29,8 +29,8 @@ task('migrate:unpause-bridge', 'Unpause bridge')
29
29
const GraphTokenGateway = GraphChain . isL2 ( graph . chainId )
30
30
? L2GraphTokenGateway
31
31
: L1GraphTokenGateway
32
- const tx2 = await GraphTokenGateway . connect ( governor ) . setPaused ( false )
33
- await tx2 . wait ( )
32
+ const tx = await GraphTokenGateway . connect ( governor ) . setPaused ( false )
33
+ await tx . wait ( )
34
34
35
35
console . log ( 'Done!' )
36
36
} )
0 commit comments