Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.
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
10 changes: 5 additions & 5 deletions constants/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ class WalletNetworkNaming(Enum):
LAYER2_OPTIMISIM = 'Optimism'
LAYER2_ARBITRUM = 'Arbitrum'
ETHEREUM_MAINNET_NETWORK_ID = 1
ETHEREUM_GOERLI_NETWORK_ID = 5
ETHEREUM_SEPOLIA_NETWORK_ID = 11155111
OPTIMISM_MAINNET_NETWORK_ID = 10
OPTIMISM_GOERLI_NETWORK_ID = 420
OPTIMISM_SEPOLIA_NETWORK_ID = 11155420
ARBITRUM_MAINNET_NETWORK_ID = 42161
ARBITRUM_GOERLI_NETWORK_ID = 421613
ARBITRUM_SEPOLIA_NETWORK_ID = 421614


class WalletNetworkDefaultValues(Enum):
ETHEREUM_LIVE_MAIN = 'https://eth-archival.rpc.grove.city'
ETHEREUM_TEST_MAIN = 'https://goerli-archival.rpc.grove.city'
ETHEREUM_TEST_MAIN = 'https://sepolia-archival.rpc.grove.city'
ETHEREUM_LIVE_FAILOVER = 'https://mainnet.infura.io'
ETHEREUM_TEST_FAILOVER = 'https://goerli.infura.io'
ETHEREUM_TEST_FAILOVER = 'https://sepolia.infura.io'


class WalletEditNetworkErrorMessages(Enum):
Expand Down
2 changes: 1 addition & 1 deletion gui/screens/settings_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def __init__(self):
def get_network_item_attribute_by_id_and_attr_name(self, attribute_name, network_id):
self._wallet_network_item_template.real_name['objectName'] = RegularExpression(
f'walletNetworkDelegate_.*_{network_id}')
return getattr(self._wallet_network_item_template.object, attribute_name)
return str(getattr(self._wallet_network_item_template.object, attribute_name))

@allure.step('Open network to check the details')
def click_network_item_to_open_edit_view(self, network_id):
Expand Down