From d0461b5f5fb8d674434e7a09167200adc9c5fe5b Mon Sep 17 00:00:00 2001 From: Ramana Kumar Date: Sat, 1 Jun 2024 06:33:50 +0100 Subject: [PATCH] feat: add holesky ethereum network (#134) Co-authored-by: antazoey --- ape_etherscan/utils.py | 1 + tests/conftest.py | 1 + tests/test_etherscan.py | 2 ++ 3 files changed, 4 insertions(+) diff --git a/ape_etherscan/utils.py b/ape_etherscan/utils.py index 88c4bdd..4ca89c3 100644 --- a/ape_etherscan/utils.py +++ b/ape_etherscan/utils.py @@ -34,6 +34,7 @@ ], "ethereum": [ "mainnet", + "holesky", "sepolia", ], "fantom": [ diff --git a/tests/conftest.py b/tests/conftest.py index 2dd9d33..dc1d1e1 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -236,6 +236,7 @@ def get_url_f(testnet: bool = False, tld: str = "io"): return { "ethereum": { "mainnet": url("etherscan"), + "holesky": testnet_url("holesky", "etherscan"), "sepolia": testnet_url("sepolia", "etherscan"), }, "arbitrum": { diff --git a/tests/test_etherscan.py b/tests/test_etherscan.py index eb31243..88d7449 100644 --- a/tests/test_etherscan.py +++ b/tests/test_etherscan.py @@ -25,6 +25,8 @@ ("ethereum", "mainnet-fork", "etherscan.io"), ("ethereum", "sepolia", "sepolia.etherscan.io"), ("ethereum", "sepolia-fork", "sepolia.etherscan.io"), + ("ethereum", "holesky", "holesky.etherscan.io"), + ("ethereum", "holesky-fork", "holesky.etherscan.io"), ("fantom", "opera", "ftmscan.com"), ("fantom", "opera-fork", "ftmscan.com"), ("fantom", "testnet", "testnet.ftmscan.com"),