File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
apps/dashboard/src/components/configure-networks
packages/thirdweb/src/utils/any-evm/zksync Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export type NetworkConfigFormData = {
2828 type : "testnet" | "mainnet" ;
2929 icon : string ;
3030 slug : string ;
31+ stackType ?: string ;
3132} ;
3233
3334// lowercase it, replace all spaces with hyphens, and then strip all non-alphanumeric characters
@@ -71,6 +72,7 @@ export const ConfigureNetworkForm: React.FC<NetworkConfigFormProps> = ({
7172 type : editingChain ?. testnet ? "testnet" : "mainnet" ,
7273 icon : editingChain ?. icon ?. url || "" ,
7374 slug : prefillSlug || editingChain ?. slug || "" ,
75+ stackType : "" ,
7476 } ,
7577 mode : "onChange" ,
7678 } ) ;
@@ -146,6 +148,7 @@ export const ConfigureNetworkForm: React.FC<NetworkConfigFormProps> = ({
146148 format : "" ,
147149 } ,
148150 testnet : data . type === "testnet" ,
151+ stackType : data . stackType || "" ,
149152 } ;
150153 } else {
151154 configuredNetwork = {
@@ -170,6 +173,7 @@ export const ConfigureNetworkForm: React.FC<NetworkConfigFormProps> = ({
170173 format : "" ,
171174 }
172175 : undefined ,
176+ stackType : data . stackType || "" ,
173177 } ;
174178 }
175179
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ export async function isZkSyncChain(chain: Chain) {
1313 chain . id === 302 ||
1414 chain . id === 11124 ||
1515 chain . id === 282 || // cronos zkevm testnet
16- chain . id === 388 // cronos zkevm mainnet
16+ chain . id === 388 || // cronos zkevm mainnet
17+ chain . id === 4654 // creator testnet
1718 ) {
1819 return true ;
1920 }
You can’t perform that action at this time.
0 commit comments