From 4ac28e60f639db05abf286efa832df92a67f5ff2 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 28 Aug 2024 12:10:52 +0200 Subject: [PATCH] chore(core): regenerate networks [no changelog] --- core/src/apps/ethereum/networks.py | 96 ++++++++++++------------------ 1 file changed, 39 insertions(+), 57 deletions(-) diff --git a/core/src/apps/ethereum/networks.py b/core/src/apps/ethereum/networks.py index a30ef72309..39f57e9a06 100644 --- a/core/src/apps/ethereum/networks.py +++ b/core/src/apps/ethereum/networks.py @@ -66,29 +66,11 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]: "ETH", # symbol "Ethereum", # name ) - yield ( - 3, # chain_id - 1, # slip44 - "tETH", # symbol - "Ropsten", # name - ) - yield ( - 4, # chain_id - 1, # slip44 - "tETH", # symbol - "Rinkeby", # name - ) - yield ( - 5, # chain_id - 1, # slip44 - "tETH", # symbol - "Görli", # name - ) yield ( 56, # chain_id 714, # slip44 "BNB", # symbol - "Binance Smart Chain", # name + "BNB Smart Chain", # name ) yield ( 61, # chain_id @@ -102,6 +84,18 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]: "MATIC", # symbol "Polygon", # name ) + yield ( + 17000, # chain_id + 1, # slip44 + "tHOL", # symbol + "Holesky", # name + ) + yield ( + 11155111, # chain_id + 1, # slip44 + "tSEP", # symbol + "Sepolia", # name + ) if utils.INTERNAL_MODEL == "T3T1": yield ( 1, # chain_id @@ -109,29 +103,11 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]: "ETH", # symbol "Ethereum", # name ) - yield ( - 3, # chain_id - 1, # slip44 - "tETH", # symbol - "Ropsten", # name - ) - yield ( - 4, # chain_id - 1, # slip44 - "tETH", # symbol - "Rinkeby", # name - ) - yield ( - 5, # chain_id - 1, # slip44 - "tETH", # symbol - "Görli", # name - ) yield ( 56, # chain_id 714, # slip44 "BNB", # symbol - "Binance Smart Chain", # name + "BNB Smart Chain", # name ) yield ( 61, # chain_id @@ -145,6 +121,18 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]: "MATIC", # symbol "Polygon", # name ) + yield ( + 17000, # chain_id + 1, # slip44 + "tHOL", # symbol + "Holesky", # name + ) + yield ( + 11155111, # chain_id + 1, # slip44 + "tSEP", # symbol + "Sepolia", # name + ) if utils.INTERNAL_MODEL == "T2T1": yield ( 1, # chain_id @@ -152,29 +140,11 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]: "ETH", # symbol "Ethereum", # name ) - yield ( - 3, # chain_id - 1, # slip44 - "tETH", # symbol - "Ropsten", # name - ) - yield ( - 4, # chain_id - 1, # slip44 - "tETH", # symbol - "Rinkeby", # name - ) - yield ( - 5, # chain_id - 1, # slip44 - "tETH", # symbol - "Görli", # name - ) yield ( 56, # chain_id 714, # slip44 "BNB", # symbol - "Binance Smart Chain", # name + "BNB Smart Chain", # name ) yield ( 61, # chain_id @@ -188,3 +158,15 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]: "MATIC", # symbol "Polygon", # name ) + yield ( + 17000, # chain_id + 1, # slip44 + "tHOL", # symbol + "Holesky", # name + ) + yield ( + 11155111, # chain_id + 1, # slip44 + "tSEP", # symbol + "Sepolia", # name + )