File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
legacy_packages/sdk/src/evm/common
packages/thirdweb/src/chains Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @thirdweb-dev/sdk " : patch
3+ " thirdweb " : patch
4+ ---
5+
6+ add ` celo ` chains to known ` op stack ` chains
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import {
1111 BaseSepoliaTestnet ,
1212 Zora ,
1313 ZoraSepoliaTestnet ,
14+ Celo ,
15+ CeloAlfajoresTestnet ,
1416} from "@thirdweb-dev/chains" ;
1517
1618type FeeData = {
@@ -134,7 +136,9 @@ function isOpStackChain(chainId: number) {
134136 chainId === Base . chainId ||
135137 chainId === BaseSepoliaTestnet . chainId ||
136138 chainId === Zora . chainId ||
137- chainId === ZoraSepoliaTestnet . chainId
139+ chainId === ZoraSepoliaTestnet . chainId ||
140+ chainId === Celo . chainId ||
141+ chainId === CeloAlfajoresTestnet . chainId
138142 ) ;
139143}
140144
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ const opChains = [
1515 zoraSepolia . id ,
1616 34443 , // mode
1717 919 , // mode testnet
18+ 42220 , // celo
19+ 44787 , // celo testnet
1820] ;
1921
2022/**
You can’t perform that action at this time.
0 commit comments