We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5982a commit 2e03fe5Copy full SHA for 2e03fe5
packages/thirdweb/src/utils/any-evm/zksync/isZkSyncChain.ts
@@ -21,7 +21,7 @@ export async function isZkSyncChain(chain: Chain) {
21
// fallback to checking the stack on rpc
22
try {
23
const chainMetadata = await getChainMetadata(chain);
24
- return chainMetadata.stackType === "zksync-stack";
+ return chainMetadata.stackType === "zksync_stack";
25
} catch {
26
// If the network check fails, assume it's not a ZkSync chain
27
return false;
0 commit comments