@@ -9,7 +9,7 @@ const NO_SYMBOL = "----";
9
9
const NO_ADDRESS = "------------------------------------------" ;
10
10
11
11
const IGNORED_CHAINS = [ CHAIN_IDs . BOBA , CHAIN_IDs . SOLANA ] ;
12
- const V4_CHAINS = [ CHAIN_IDs . BSC , CHAIN_IDs . LISK , CHAIN_IDs . LINEA ] ;
12
+ const V4_CHAINS = [ CHAIN_IDs . BSC , CHAIN_IDs . LISK , CHAIN_IDs . LINEA , CHAIN_IDs . WORLD_CHAIN ] ;
13
13
14
14
// Supported mainnet chain IDs.
15
15
const enabledChainIds = ( hubChainId : number ) => {
@@ -28,7 +28,7 @@ const getChainsFromList = (taskArgInput: string): number[] =>
28
28
29
29
task ( "enableToken" , "Enable a provided token across the entire ecosystem of supported chains" )
30
30
. addFlag ( "execute" , "Provide this flag if you would like to actually execute the transaction from the EOA" )
31
- . addFlag ( "disableRoutes " , "Set to disable deposit routes for the specified chains" )
31
+ . addFlag ( "disable " , "Set to disable deposit routes for the specified chains" )
32
32
. addParam ( "token" , "Symbol of token to enable" )
33
33
. addOptionalParam ( "chains" , "Comma-delimited list of chains to enable the token on. Defaults to all supported chains" )
34
34
. addOptionalParam ( "burn" , "Amount of LP token to burn when enabling a new token" , 1 , types . int )
@@ -40,7 +40,7 @@ task("enableToken", "Enable a provided token across the entire ecosystem of supp
40
40
. setAction ( async function ( taskArguments , hre_ ) {
41
41
const hre = hre_ as any ;
42
42
const { burn, chains, execute, token : symbol } = taskArguments ;
43
- const enableRoute = ! taskArguments . disableRoutes ;
43
+ const enableRoute = ! taskArguments . disable ;
44
44
45
45
const hubChainId = parseInt ( await hre . getChainId ( ) ) ;
46
46
if ( hubChainId === 31337 ) {
0 commit comments