Skip to content

Commit

Permalink
rename terra classic (trustwallet#2247)
Browse files Browse the repository at this point in the history
  • Loading branch information
hewigovens authored May 27, 2022
1 parent f29dd54 commit 962c7f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ This list is generated from [./registry.json](../registry.json)
| 283 | Algorand | ALGO | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/algorand/info/logo.png" width="32" /> | <https://www.algorand.com/> |
| 304 | IoTeX | IOTX | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/iotex/info/logo.png" width="32" /> | <https://iotex.io> |
| 313 | Zilliqa | ZIL | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/zilliqa/info/logo.png" width="32" /> | <https://zilliqa.com> |
| 330 | Terra | LUNA | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/terra/info/logo.png" width="32" /> | <https://terra.money> |
| 354 | Polkadot | DOT | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/polkadot/info/logo.png" width="32" /> | <https://polkadot.network/> |
| 394 | Crypto.org | CRO | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/cryptoorg/info/logo.png" width="32" /> | <https://crypto.org/> |
| 397 | NEAR | NEAR | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/near/info/logo.png" width="32" /> | <https://nearprotocol.com> |
Expand Down
8 changes: 5 additions & 3 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,9 @@
{
"id": "terra",
"name": "Terra",
"displayName": "Terra Classic",
"coinId": 330,
"symbol": "LUNA",
"symbol": "LUNC",
"decimals": 6,
"blockchain": "Cosmos",
"derivation": [
Expand All @@ -904,9 +905,10 @@
"info": {
"url": "https://terra.money",
"source": "https://github.com/terra-project/core",
"rpc": "https://rpc.terra.dev",
"rpc": "https://classic.fcd.terra.dev",
"documentation": "https://docs.terra.money"
}
},
"deprecated": true
},
{
"id": "polkadot",
Expand Down
4 changes: 2 additions & 2 deletions tests/Terra/TWCoinTypeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ TEST(TWTerraCoinType, TWCoinType) {
ASSERT_EQ(TWBlockchainCosmos, TWCoinTypeBlockchain(TWCoinTypeTerra));
ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeTerra));
ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeTerra));
assertStringsEqual(symbol, "LUNA");
assertStringsEqual(symbol, "LUNC");
assertStringsEqual(txUrl, "https://finder.terra.money/tx/tx/D28D8AFC7CE89F2A22FA2DBF78D2C0A36E549BB830C4D9FA7459E3F723CA7182");
assertStringsEqual(accUrl, "https://finder.terra.money/tx/address/terra16t3gx5rqvz6ru37yzn3shuu20erv4ngmfr59zf");
assertStringsEqual(id, "terra");
assertStringsEqual(name, "Terra");
assertStringsEqual(name, "Terra Classic");
}

0 comments on commit 962c7f5

Please sign in to comment.