Skip to content

Commit

Permalink
delete(heco): Delete Huobi ECO Chain (#4244)
Browse files Browse the repository at this point in the history
* delete(heco): Delete Huobi ECO Chain

* delete(heco): Delete `TWCoinTypeECOChain`

* chore(versions): Update gradle version to 8.10.2, COCOAPODS to 1.14.3
  • Loading branch information
satoshiotomakan authored Jan 29, 2025
1 parent b154f9d commit 78b0536
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 68 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.10.2

- name: Install system dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kotlin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.1.1
gradle-version: 8.10.2

- name: Install system dependencies
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CoinAddressDerivationTests {
DASH -> assertEquals("XqHiz8EXYbTAtBEYs4pWTHh7ipEDQcNQeT", address)
DIGIBYTE -> assertEquals("dgb1qtjgmerfqwdffyf8ghcrkgy52cghsqptynmyswu", address)

ETHEREUM, SMARTCHAIN, POLYGON, OPTIMISM, ZKSYNC, ARBITRUM, ARBITRUMNOVA, ECOCHAIN, AVALANCHECCHAIN, XDAI,
ETHEREUM, SMARTCHAIN, POLYGON, OPTIMISM, ZKSYNC, ARBITRUM, ARBITRUMNOVA, AVALANCHECCHAIN, XDAI,
FANTOM, CELO, CRONOSCHAIN, SMARTBITCOINCASH, KUCOINCOMMUNITYCHAIN, BOBA, METIS,
AURORA, EVMOS, MOONRIVER, MOONBEAM, KAVAEVM, KAIA, METER, OKXCHAIN, POLYGONZKEVM, SCROLL,
CONFLUXESPACE, ACALAEVM, OPBNB, NEON, BASE, LINEA, GREENFIELD, MANTLE, ZENEON, MANTAPACIFIC,
Expand Down
1 change: 0 additions & 1 deletion docs/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ This list is generated from [./registry.json](../registry.json)
| 10000321 | KuCoin Community Chain | KCS | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/kcc/info/logo.png" width="32" /> | <https://www.kcc.io/> |
| 10000324 | zkSync Era | ETH | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/zksync/info/logo.png" width="32" /> | <https://portal.zksync.io/> |
| 10000330 | Terra | LUNA | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/terrav2/info/logo.png" width="32" /> | <https://terra.money> |
| 10000553 | Huobi ECO Chain | HT | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/heco/info/logo.png" width="32" /> | <https://www.hecochain.com/en-us> |
| 10000787 | Acala EVM | ACA | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/acalaevm/info/logo.png" width="32" /> | <https://acala.network> |
| 10000990 | Coreum | CORE | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/coreum/info/logo.png" width="32" /> | <https://www.coreum.com/> |
| 10001088 | Metis | METIS | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/metis/info/logo.png" width="32" /> | <https://www.metis.io/> |
Expand Down
1 change: 0 additions & 1 deletion include/TrustWalletCore/TWCoinType.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ enum TWCoinType {
TWCoinTypeOptimism = 10000070,
TWCoinTypeZksync = 10000324,
TWCoinTypeArbitrum = 10042221,
TWCoinTypeECOChain = 10000553,
TWCoinTypeAvalancheCChain = 10009000,
TWCoinTypeXDai = 10000100,
TWCoinTypeFantom = 10000250,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CoinAddressDerivationTests {
Dash -> "XqHiz8EXYbTAtBEYs4pWTHh7ipEDQcNQeT"
DigiByte -> "dgb1qtjgmerfqwdffyf8ghcrkgy52cghsqptynmyswu"

Ethereum, SmartChain, Polygon, Optimism, Zksync, Arbitrum, ArbitrumNova, ECOChain, AvalancheCChain, XDai,
Ethereum, SmartChain, Polygon, Optimism, Zksync, Arbitrum, ArbitrumNova, AvalancheCChain, XDai,
Fantom, Celo, CronosChain, SmartBitcoinCash, KuCoinCommunityChain, Boba, Metis,
Aurora, Evmos, Moonriver, Moonbeam, KavaEvm, Kaia, Meter, OKXChain, PolygonzkEVM, Scroll,
ConfluxeSpace, AcalaEVM, OpBNB, Neon, Base, Linea, Greenfield, Mantle, ZenEON, MantaPacific,
Expand Down
31 changes: 0 additions & 31 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -3387,37 +3387,6 @@
"documentation": "https://docs.arbitrum.io/"
}
},
{
"id": "heco",
"name": "ECO Chain",
"displayName": "Huobi ECO Chain",
"coinId": 10000553,
"slip44": 553,
"symbol": "HT",
"decimals": 18,
"blockchain": "Ethereum",
"derivation": [
{
"path": "m/44'/60'/0'/0/0"
}
],
"curve": "secp256k1",
"publicKeyType": "secp256k1Extended",
"chainId": "128",
"addressHasher": "keccak256",
"explorer": {
"url": "https://hecoinfo.com",
"txPath": "/tx/",
"accountPath": "/address/"
},
"info": {
"url": "https://www.hecochain.com/en-us",
"source": "https://github.com/HuobiGroup/huobi-eco-chain",
"rpc": "https://http-mainnet-node.huobichain.com",
"documentation": "https://eth.wiki/json-rpc/API"
},
"testFolderName": "ECO"
},
{
"id": "avalanchec",
"name": "Avalanche C-Chain",
Expand Down
1 change: 0 additions & 1 deletion rust/tw_tests/tests/coin_address_derivation_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ fn test_coin_address_derivation() {
| CoinType::Celo
| CoinType::ConfluxeSpace
| CoinType::CronosChain
| CoinType::ECOChain
| CoinType::EthereumClassic
| CoinType::Evmos
| CoinType::Fantom
Expand Down
2 changes: 1 addition & 1 deletion swift/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: aac2324ba35cdd5631cb37618cd483887bab9cfd

COCOAPODS: 1.11.3
COCOAPODS: 1.14.3
1 change: 0 additions & 1 deletion swift/Tests/CoinAddressDerivationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class CoinAddressDerivationTests: XCTestCase {
.scroll,
.arbitrum,
.arbitrumNova,
.ecochain,
.avalancheCChain,
.xdai,
.fantom,
Expand Down
28 changes: 0 additions & 28 deletions tests/chains/ECO/TWCoinTypeTests.cpp

This file was deleted.

1 change: 0 additions & 1 deletion tests/common/CoinAddressDerivationTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ TEST(Coin, DeriveAddress) {
case TWCoinTypeCelo:
case TWCoinTypeConfluxeSpace:
case TWCoinTypeCronosChain:
case TWCoinTypeECOChain:
case TWCoinTypeEthereumClassic:
case TWCoinTypeEvmos:
case TWCoinTypeFantom:
Expand Down

0 comments on commit 78b0536

Please sign in to comment.