Skip to content

Commit

Permalink
chore(core): regenerate networks
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
matejcik committed Aug 28, 2024
1 parent 0b2b0d0 commit 4ac28e6
Showing 1 changed file with 37 additions and 55 deletions.
92 changes: 37 additions & 55 deletions core/src/apps/ethereum/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -102,36 +84,30 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]:
"MATIC", # symbol
"Polygon", # name
)
if utils.INTERNAL_MODEL == "T3T1":
yield (
1, # chain_id
60, # slip44
"ETH", # symbol
"Ethereum", # name
)
yield (
3, # chain_id
17000, # chain_id
1, # slip44
"tETH", # symbol
"Ropsten", # name
"tHOL", # symbol
"Holesky", # name
)
yield (
4, # chain_id
11155111, # chain_id
1, # slip44
"tETH", # symbol
"Rinkeby", # name
"tSEP", # symbol
"Sepolia", # name
)
if utils.INTERNAL_MODEL == "T3T1":
yield (
5, # chain_id
1, # slip44
"tETH", # symbol
"Görli", # name
1, # chain_id
60, # slip44
"ETH", # symbol
"Ethereum", # name
)
yield (
56, # chain_id
714, # slip44
"BNB", # symbol
"Binance Smart Chain", # name
"BNB Smart Chain", # name
)
yield (
61, # chain_id
Expand All @@ -145,36 +121,30 @@ def _networks_iterator() -> Iterator[NetworkInfoTuple]:
"MATIC", # symbol
"Polygon", # name
)
if utils.INTERNAL_MODEL == "T2T1":
yield (
1, # chain_id
60, # slip44
"ETH", # symbol
"Ethereum", # name
)
yield (
3, # chain_id
17000, # chain_id
1, # slip44
"tETH", # symbol
"Ropsten", # name
"tHOL", # symbol
"Holesky", # name
)
yield (
4, # chain_id
11155111, # chain_id
1, # slip44
"tETH", # symbol
"Rinkeby", # name
"tSEP", # symbol
"Sepolia", # name
)
if utils.INTERNAL_MODEL == "T2T1":
yield (
5, # chain_id
1, # slip44
"tETH", # symbol
"Görli", # name
1, # chain_id
60, # slip44
"ETH", # symbol
"Ethereum", # name
)
yield (
56, # chain_id
714, # slip44
"BNB", # symbol
"Binance Smart Chain", # name
"BNB Smart Chain", # name
)
yield (
61, # chain_id
Expand All @@ -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
)

0 comments on commit 4ac28e6

Please sign in to comment.