Skip to content

Commit

Permalink
fix: declare nova as a mainnet (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Dec 4, 2024
1 parent 2944e42 commit 3c0633c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ape_arbitrum/ecosystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class ArbitrumConfig(BaseEthereumConfig):
DEFAULT_LOCAL_GAS_LIMIT: ClassVar[GasLimit] = LOCAL_GAS_LIMIT
mainnet: NetworkConfig = _create_config()
sepolia: NetworkConfig = _create_config()
nova: NetworkConfig = _create_config()
nova: NetworkConfig = _create_config(is_mainnet=True)


class Arbitrum(Ethereum):
Expand Down
6 changes: 6 additions & 0 deletions tests/test_ecosystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,9 @@ def test_decode_receipt(arbitrum):

# Check that the receipt decodes HexInt correctly
assert actual.gas_used_for_L1 == 7


def test_is_mainnet(arbitrum):
assert arbitrum.mainnet.is_mainnet
assert arbitrum.nova.is_mainnet
assert not arbitrum.sepolia.is_mainnet

0 comments on commit 3c0633c

Please sign in to comment.