update check cosmwasm
This commit is contained in:
parent
05fe475de7
commit
1dca225624
@ -13,7 +13,7 @@
|
||||
"address": "https://rpc.orai.io"
|
||||
}
|
||||
],
|
||||
"cosmwasm_enabled": false,
|
||||
"cosmwasm_enabled": true,
|
||||
"sdk_version": "0.45.16",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
@ -28,4 +28,4 @@
|
||||
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/7533.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ const updateChain = async (chainFile) => {
|
||||
const filePath = path.join(chainsPath, chainFile);
|
||||
const chainData = JSON.parse(fs.readFileSync(filePath).toString());
|
||||
if (logo) chainData.logo = logo;
|
||||
chainData.cosmwasm_enabled = cosmwasmEnabled;
|
||||
if (cosmwasmEnabled) chainData.cosmwasm_enabled = cosmwasmEnabled;
|
||||
fs.writeFileSync(filePath, JSON.stringify(chainData, null, 2));
|
||||
} catch (ex) {
|
||||
console.log('Problem with', url, ex.toString());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user