Skip to content

Commit

Permalink
chore: add zksync chains
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Dec 13, 2024
1 parent e3bd8bc commit 2044742
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rust/main/hyperlane-core/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,15 @@ pub enum KnownHyperlaneDomain {
SolanaMainnet = 1399811149,
Taiko = 167000,
Tangle = 5845,
Treasure = 61166,
Viction = 88,
Worldchain = 480,
Xai = 660279,
Xlayer = 196,
Zetachain = 7000,
Zeronetwork = 543210,
Zklink = 810180,
Zksync = 324,
Zircuit = 48900,
ZoraMainnet = 7777777,

Expand All @@ -192,6 +196,7 @@ pub enum KnownHyperlaneDomain {

// -- Test chains --
//
Abstracttestnet = 11124,
Alfajores = 44787,
#[cfg_attr(feature = "strum", strum(serialize = "bsctestnet"))]
BinanceSmartChainTestnet = 97,
Expand All @@ -203,6 +208,7 @@ pub enum KnownHyperlaneDomain {
ScrollSepolia = 534351,
Sepolia = 11155111,
SuperpositionTestnet = 98985,
Treasuretopaz = 978658,
}

#[derive(Clone, Serialize)]
Expand Down Expand Up @@ -383,7 +389,9 @@ impl KnownHyperlaneDomain {
HyperlaneDomainTechnicalStack::PolkadotSubstrate: [
Moonbeam, Tangle
],
HyperlaneDomainTechnicalStack::ZkSync: [],
HyperlaneDomainTechnicalStack::ZkSync: [
Abstracttestnet, Treasure, Treasuretopaz, Zeronetwork, Zklink, Zksync,
],
HyperlaneDomainTechnicalStack::Other: [
Avalanche, BinanceSmartChain, Celo, EclipseMainnet, Endurance, Ethereum,
FuseMainnet, Gnosis, Injective, Linea, Lukso, Neutron, Osmosis, Polygon,
Expand Down

0 comments on commit 2044742

Please sign in to comment.