Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix: resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Apr 25, 2023
1 parent df5c8fb commit 3419d75
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ethers-core/src/types/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ pub enum Chain {

ScrollAlphaTestnet = 534353,

Metis = 1088,

#[strum(to_string = "xdai", serialize = "gnosis", serialize = "gnosis-chain")]
#[serde(alias = "xdai", alias = "gnosis", alias = "gnosis_chain")]
XDai = 100,
Expand Down Expand Up @@ -286,7 +288,7 @@ impl Chain {
// Explicitly exhaustive. See NB above.
Morden | Ropsten | Rinkeby | Goerli | Kovan | XDai | Chiado | Sepolia | Moonbase |
MoonbeamDev | Optimism | OptimismGoerli | OptimismKovan | Poa | Sokol | Rsk |
EmeraldTestnet | Boba | BaseGoerli | ZkSync | PolygonZkEvm | PolygonZkEvmTestnet => {
EmeraldTestnet | Boba | BaseGoerli | ZkSync | PolygonZkEvm | PolygonZkEvmTestnet | Metis => {
return None
}
};
Expand Down Expand Up @@ -348,7 +350,7 @@ impl Chain {
Dev | AnvilHardhat | Morden | Ropsten | Rinkeby | Cronos | CronosTestnet | Kovan |
Sokol | Poa | XDai | Moonbeam | MoonbeamDev | Moonriver | Moonbase | Evmos |
EvmosTestnet | Chiado | Aurora | AuroraTestnet | Canto | CantoTestnet |
ScrollAlphaTestnet => false,
ScrollAlphaTestnet | Metis => false,
}
}

Expand Down Expand Up @@ -445,6 +447,10 @@ impl Chain {
("https://blockscout.scroll.io/api", "https://blockscout.scroll.io/")
}

Metis => {
("https://andromeda-explorer.metis.io/api", "https://andromeda-explorer.metis.io/")
}

Chiado => {
("https://blockscout.chiadochain.net/api", "https://blockscout.chiadochain.net")
}
Expand Down Expand Up @@ -562,6 +568,7 @@ impl Chain {
// Explicitly exhaustive. See NB above.
XDai |
ScrollAlphaTestnet |
Metis |
Chiado |
Sepolia |
Rsk |
Expand Down

0 comments on commit 3419d75

Please sign in to comment.