Skip to content

Commit ad8724e

Browse files
committed
Disable Polygon zkEVM, Xai, Blast, Toy Testnet, Sandbox Testnet, Incentiv
1 parent cfba85d commit ad8724e

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

packages/network/src/config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const allNetworks = validateAndSortNetworks([
9999
createNetworkConfig(ChainId.ARBITRUM_NOVA),
100100
createNetworkConfig(ChainId.OPTIMISM),
101101
createNetworkConfig(ChainId.OPTIMISM_SEPOLIA),
102-
createNetworkConfig(ChainId.POLYGON_ZKEVM),
102+
createNetworkConfig(ChainId.POLYGON_ZKEVM), { disabled: true }),
103103
createNetworkConfig(ChainId.GNOSIS),
104104
createNetworkConfig(ChainId.RINKEBY, { disabled: true }),
105105
createNetworkConfig(ChainId.GOERLI, { disabled: true }),
@@ -112,23 +112,23 @@ export const allNetworks = validateAndSortNetworks([
112112
createNetworkConfig(ChainId.BASE_SEPOLIA),
113113
createNetworkConfig(ChainId.HOMEVERSE),
114114
createNetworkConfig(ChainId.HOMEVERSE_TESTNET),
115-
createNetworkConfig(ChainId.XAI),
116-
createNetworkConfig(ChainId.XAI_SEPOLIA),
115+
createNetworkConfig(ChainId.XAI), { disabled: true }),
116+
createNetworkConfig(ChainId.XAI_SEPOLIA), { disabled: true }),
117117
createNetworkConfig(ChainId.AVALANCHE_TESTNET),
118118
createNetworkConfig(ChainId.B3),
119119
createNetworkConfig(ChainId.B3_SEPOLIA),
120120
createNetworkConfig(ChainId.APECHAIN),
121121
createNetworkConfig(ChainId.APECHAIN_TESTNET),
122-
createNetworkConfig(ChainId.BLAST),
123-
createNetworkConfig(ChainId.BLAST_SEPOLIA),
122+
createNetworkConfig(ChainId.BLAST), { disabled: true }),
123+
createNetworkConfig(ChainId.BLAST_SEPOLIA), { disabled: true }),
124124
createNetworkConfig(ChainId.TELOS),
125125
createNetworkConfig(ChainId.TELOS_TESTNET),
126126
createNetworkConfig(ChainId.BORNE_TESTNET),
127127
createNetworkConfig(ChainId.SKALE_NEBULA),
128128
createNetworkConfig(ChainId.SKALE_NEBULA_TESTNET),
129129
createNetworkConfig(ChainId.SONEIUM),
130130
createNetworkConfig(ChainId.SONEIUM_MINATO),
131-
createNetworkConfig(ChainId.TOY_TESTNET),
131+
createNetworkConfig(ChainId.TOY_TESTNET), { disabled: true }),
132132
createNetworkConfig(ChainId.IMMUTABLE_ZKEVM),
133133
createNetworkConfig(ChainId.IMMUTABLE_ZKEVM_TESTNET),
134134
createNetworkConfig(ChainId.MOONBEAM),
@@ -141,10 +141,10 @@ export const allNetworks = validateAndSortNetworks([
141141
createNetworkConfig(ChainId.MONAD),
142142
createNetworkConfig(ChainId.MONAD_TESTNET),
143143
createNetworkConfig(ChainId.INCENTIV_TESTNET, { disabled: true }),
144-
createNetworkConfig(ChainId.INCENTIV_TESTNET_V2),
145-
createNetworkConfig(ChainId.INCENTIV),
144+
createNetworkConfig(ChainId.INCENTIV_TESTNET_V2), { disabled: true }),
145+
createNetworkConfig(ChainId.INCENTIV), { disabled: true }),
146146
createNetworkConfig(ChainId.KATANA),
147-
createNetworkConfig(ChainId.SANDBOX_TESTNET),
147+
createNetworkConfig(ChainId.SANDBOX_TESTNET), { disabled: true }),
148148
createNetworkConfig(ChainId.ARC_TESTNET),
149149
createNetworkConfig(ChainId.HYPEREVM),
150150
createNetworkConfig(ChainId.BERACHAIN),

packages/network/src/constants.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export enum ChainId {
3939
// Polygon
4040
POLYGON = 137,
4141
POLYGON_MUMBAI = 80001, // network is deprecated
42-
POLYGON_ZKEVM = 1101,
42+
POLYGON_ZKEVM = 1101, // network is deprecated
4343
POLYGON_AMOY = 80002,
4444

4545
// BSC
@@ -77,8 +77,8 @@ export enum ChainId {
7777
HOMEVERSE = 19011,
7878

7979
// Xai
80-
XAI = 660279,
81-
XAI_SEPOLIA = 37714555429,
80+
XAI = 660279, // network is deprecated
81+
XAI_SEPOLIA = 37714555429, // netwoprk is deprecated
8282

8383
// TELOS
8484
TELOS = 40,
@@ -93,8 +93,8 @@ export enum ChainId {
9393
APECHAIN_TESTNET = 33111,
9494

9595
// Blast
96-
BLAST = 81457,
97-
BLAST_SEPOLIA = 168587773,
96+
BLAST = 81457, // network is deprecated
97+
BLAST_SEPOLIA = 168587773, // network is deprecated
9898

9999
// Borne
100100
BORNE_TESTNET = 94984, // network is deprecated
@@ -108,7 +108,7 @@ export enum ChainId {
108108
SONEIUM = 1868,
109109

110110
// TOY Testnet
111-
TOY_TESTNET = 21000000,
111+
TOY_TESTNET = 21000000, // network is deprecated
112112

113113
// Immutable zkEVM
114114
IMMUTABLE_ZKEVM = 13371,
@@ -136,9 +136,9 @@ export enum ChainId {
136136
SOMNIA = 5031,
137137

138138
// INCENTIV TESTNET
139-
INCENTIV_TESTNET = 11690, // deprecated
140-
INCENTIV_TESTNET_V2 = 28802,
141-
INCENTIV = 24101,
139+
INCENTIV_TESTNET = 11690, // network is deprecated
140+
INCENTIV_TESTNET_V2 = 28802, // network is deprecated
141+
INCENTIV = 24101, // network is deprecated
142142

143143
// Katana
144144
KATANA = 747474,

0 commit comments

Comments
 (0)