Skip to content

Commit 207be68

Browse files
authored
feat: support new sepolia testnet [APE-1494] (#22)
1 parent db9288a commit 207be68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ape_arbitrum/ecosystem.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# chain_id, network_id
2424
"mainnet": (42161, 42161),
2525
"goerli": (421613, 421613),
26+
"sepolia": (421614, 421614),
2627
}
2728
INTERNAL_TRANSACTION_TYPE = 106
2829

@@ -118,6 +119,8 @@ class ArbitrumConfig(PluginConfig):
118119
mainnet_fork: NetworkConfig = _create_local_config()
119120
goerli: NetworkConfig = _create_network_config()
120121
goerli_fork: NetworkConfig = _create_local_config()
122+
sepolia: NetworkConfig = _create_network_config()
123+
sepolia_fork: NetworkConfig = _create_local_config()
121124
local: NetworkConfig = _create_local_config(default_provider="test")
122125
default_network: str = LOCAL_NETWORK_NAME
123126

tests/test_integration.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
│ └── geth (default)
99
├── goerli
1010
│ └── geth (default)
11+
├── sepolia
12+
│ └── geth (default)
1113
└── local (default)
1214
└── test (default)
1315
""".strip()
@@ -48,6 +50,7 @@ def test_networks(runner, cli, arbitrum):
4850
# Do this in case local env changed it.
4951
arbitrum.mainnet.set_default_provider("geth")
5052
arbitrum.goerli.set_default_provider("geth")
53+
arbitrum.sepolia.set_default_provider("geth")
5154

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

0 commit comments

Comments
 (0)