Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support new sepolia testnet [APE-1494] #22

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ape_arbitrum/ecosystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# chain_id, network_id
"mainnet": (42161, 42161),
"goerli": (421613, 421613),
"sepolia": (421614, 421614),
}
INTERNAL_TRANSACTION_TYPE = 106

Expand Down Expand Up @@ -118,6 +119,8 @@ class ArbitrumConfig(PluginConfig):
mainnet_fork: NetworkConfig = _create_local_config()
goerli: NetworkConfig = _create_network_config()
goerli_fork: NetworkConfig = _create_local_config()
sepolia: NetworkConfig = _create_network_config()
sepolia_fork: NetworkConfig = _create_local_config()
local: NetworkConfig = _create_local_config(default_provider="test")
default_network: str = LOCAL_NETWORK_NAME

Expand Down
3 changes: 3 additions & 0 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
│ └── geth (default)
├── goerli
│ └── geth (default)
├── sepolia
│ └── geth (default)
└── local (default)
└── test (default)
""".strip()
Expand Down Expand Up @@ -48,6 +50,7 @@ def test_networks(runner, cli, arbitrum):
# Do this in case local env changed it.
arbitrum.mainnet.set_default_provider("geth")
arbitrum.goerli.set_default_provider("geth")
arbitrum.sepolia.set_default_provider("geth")

result = runner.invoke(cli, ["networks", "list"])
assert_rich_text(result.output, EXPECTED_OUTPUT)
Loading