Skip to content

Commit

Permalink
fix: holesky
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed May 31, 2024
1 parent c5ef819 commit 609cf61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ foundry:
sepolia:
upstream_provider: alchemy
block_number: 3091950
holesky:
upstream_provider: alchemy
block_number: 100

test:
# `false` because running pytest within pytest.
Expand Down
3 changes: 3 additions & 0 deletions ape_foundry/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"sepolia": {
0: "london",
},
"holesky": {
0: "london",
},
},
"polygon": {
"mainnet": {
Expand Down
3 changes: 1 addition & 2 deletions tests/test_fork_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def test_multiple_providers(
assert networks.active_provider.uri == default_host


# TODO: Remove `in` check once goerli removed from core.
@pytest.mark.parametrize("network", [k for k in NETWORKS.keys() if k not in ("goerli",)])
@pytest.mark.parametrize("network", NETWORKS)
def test_fork_config(name, config, network):
plugin_config = config.get_config(name)
network_config = plugin_config["fork"].get("ethereum", {}).get(network, {})
Expand Down

0 comments on commit 609cf61

Please sign in to comment.