mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Add TTRP (#2219)
* Add files via upload * Rename Tron address to TRC10 token id * move Co-authored-by: Mykola <kolya182@gmail.com>
This commit is contained in:
parent
90992b8bfe
commit
4342a21655
BIN
blockchains/tron/assets/1002963/logo.png
Normal file
BIN
blockchains/tron/assets/1002963/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
|
@ -65,7 +65,7 @@ describe(`Test "blockchains" folder`, () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe(`Asset folder should contain only predefined list of filees`, () => {
|
||||
describe(`Asset folder should contain only predefined list of files`, () => {
|
||||
readDirSync(chainsFolderPath).forEach(chain => {
|
||||
const assetsPath = getChainAssetsPath(chain)
|
||||
|
||||
|
@ -130,7 +130,7 @@ describe(`Test "blockchains" folder`, () => {
|
|||
|
||||
test("Expect asset to be TRC10 or TRC20", () => {
|
||||
readDirSync(path).forEach(asset => {
|
||||
expect(isTRC10(asset) || isTRC20(asset), `Asset ${asset} non TRC10 nor TRC20`).toBe(true)
|
||||
expect(isTRC10(asset) || isTRC20(asset), `Asset ${asset} at path ${path} non TRC10 nor TRC20`).toBe(true)
|
||||
|
||||
const assetsLogoPath = getChainAssetLogoPath(Tron, asset)
|
||||
expect(isPathExistsSync(assetsLogoPath), `Missing file at path "${assetsLogoPath}"`).toBe(true)
|
||||
|
|
Loading…
Reference in New Issue
Block a user