mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
[harmony] Init Harmony (#145)
This commit is contained in:
parent
43b993b304
commit
251af67f66
Binary file not shown.
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 29 KiB |
BIN
blockchains/harmony/info/logo.png
Normal file
BIN
blockchains/harmony/info/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
|
@ -28,8 +28,8 @@ function checkRootDir () {
|
|||
checkBlockhainsFolder()
|
||||
|
||||
function checkBlockhainsFolder(){
|
||||
const currentBlockchains = 59
|
||||
|
||||
const currentBlockchains = 60;
|
||||
|
||||
const foundBlockchains = readDirSync(blockchainsFolderPath)
|
||||
|
||||
if (foundBlockchains.length !== currentBlockchains) {
|
||||
|
@ -49,7 +49,7 @@ function checkBlockhainsFolder(){
|
|||
if (uppercaseExp.test(asset)) {
|
||||
exitWithMsg(`${asset} folder must be in lowercase`)
|
||||
}
|
||||
|
||||
|
||||
if (!isEthereumAddress(asset)) {
|
||||
exitWithMsg(`Invalid asset naming "${assetsPath}"`)
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ function checkValidatorsFolder(networkPath) {
|
|||
if (keys.length !== 4) {
|
||||
exitWithMsg(`Add test for new validator object key: ${keys.length}`)
|
||||
}
|
||||
|
||||
|
||||
keys.forEach(key => {
|
||||
const keyType = typeof key
|
||||
if (keyType !== "string") {
|
||||
|
@ -192,4 +192,4 @@ function exitWithMsg (msg) {
|
|||
process.exit(1)
|
||||
}
|
||||
|
||||
console.log(`\nPassed all tests`)
|
||||
console.log(`\nPassed all tests`)
|
||||
|
|
Loading…
Reference in New Issue
Block a user