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

Commit

Permalink
style(fmt): nightly, satisfy ci
Browse files Browse the repository at this point in the history
  • Loading branch information
phnaharris committed Oct 7, 2023
1 parent 270ba52 commit cbd37c4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ethers-core/src/types/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ impl Chain {
Morden | Ropsten | Rinkeby | Goerli | Kovan | XDai | Chiado | Sepolia | Holesky |
Moonbase | MoonbeamDev | OptimismKovan | Poa | Sokol | Rsk | EmeraldTestnet |
Boba | Base | BaseGoerli | ZkSync | ZkSyncTestnet | PolygonZkEvm |
PolygonZkEvmTestnet | Metis | Linea | LineaTestnet | Mantle | MantleTestnet => return None,
PolygonZkEvmTestnet | Metis | Linea | LineaTestnet | Mantle | MantleTestnet => {
return None
}
};

Some(Duration::from_millis(ms))
Expand Down Expand Up @@ -345,7 +347,7 @@ impl Chain {
Boba |
ZkSync |
ZkSyncTestnet |
Mantle |
Mantle |
MantleTestnet |
PolygonZkEvm |
PolygonZkEvmTestnet => true,
Expand Down Expand Up @@ -553,8 +555,9 @@ impl Chain {
("https://explorer.goerli.linea.build/api", "https://explorer.goerli.linea.build/")
}
Mantle => ("https://explorer.mantle.xyz/api", "https://explorer.mantle.xyz"),
MantleTestnet => ("https://explorer.testnet.mantle.xyz/api", "https://explorer.testnet.mantle.xyz"),

MantleTestnet => {
("https://explorer.testnet.mantle.xyz/api", "https://explorer.testnet.mantle.xyz")
}

AnvilHardhat | Dev | Morden | MoonbeamDev | FilecoinMainnet => {
// this is explicitly exhaustive so we don't forget to add new urls when adding a
Expand Down

0 comments on commit cbd37c4

Please sign in to comment.