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

Commit 70e5f02

Browse files
authored
feat: add new holesky etherscan urls (#2620)
1 parent b7e7c28 commit 70e5f02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ethers-core/src/types/chain.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ impl Chain {
410410
Rinkeby => ("https://api-rinkeby.etherscan.io/api", "https://rinkeby.etherscan.io"),
411411
Goerli => ("https://api-goerli.etherscan.io/api", "https://goerli.etherscan.io"),
412412
Sepolia => ("https://api-sepolia.etherscan.io/api", "https://sepolia.etherscan.io"),
413+
Holesky => ("https://api-holesky.etherscan.io/api", "https://holesky.etherscan.io"),
413414

414415
Polygon => ("https://api.polygonscan.com/api", "https://polygonscan.com"),
415416
PolygonMumbai => {
@@ -543,7 +544,7 @@ impl Chain {
543544
("https://explorer.goerli.linea.build/api", "https://explorer.goerli.linea.build/")
544545
}
545546

546-
Holesky | AnvilHardhat | Dev | Morden | MoonbeamDev | FilecoinMainnet => {
547+
AnvilHardhat | Dev | Morden | MoonbeamDev | FilecoinMainnet => {
547548
// this is explicitly exhaustive so we don't forget to add new urls when adding a
548549
// new chain
549550
return None
@@ -573,6 +574,7 @@ impl Chain {
573574
Kovan |
574575
Rinkeby |
575576
Goerli |
577+
Holesky |
576578
Optimism |
577579
OptimismGoerli |
578580
OptimismKovan |
@@ -611,7 +613,6 @@ impl Chain {
611613
Metis |
612614
Chiado |
613615
Sepolia |
614-
Holesky |
615616
Rsk |
616617
Sokol |
617618
Poa |

0 commit comments

Comments
 (0)