update version of sdk
This commit is contained in:
parent
f7b72e57fd
commit
da125a2b67
@ -2,7 +2,7 @@
|
||||
"chain_name": "cosmos",
|
||||
"coingecko": "cosmos",
|
||||
"api": ["https://cosmos.api.ping.pub", "https://cosmoshub.stakesystems.io"],
|
||||
"sdk_version": "0.42.6",
|
||||
"sdk_version": "0.44.3",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "cosmos",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"chain_name": "juno",
|
||||
"coingecko": "juno-network",
|
||||
"api": "https://lcd-juno.itastakers.com",
|
||||
"sdk_version": "0.42.4",
|
||||
"sdk_version": "0.44.5",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "3000",
|
||||
"addr_prefix": "juno",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"chain_name": "osmosis",
|
||||
"coingecko": "osmosis",
|
||||
"api": "https://lcd-osmosis.keplr.app",
|
||||
"sdk_version": "0.42.5",
|
||||
"sdk_version": "0.44.5",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "osmo",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"chain_name": "regen",
|
||||
"coingecko": "regen",
|
||||
"api": "https://regen.api.ping.pub",
|
||||
"sdk_version": "0.42.4",
|
||||
"sdk_version": "0.44.3",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "3000",
|
||||
"addr_prefix": "regen",
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"chain_name": "stargaze",
|
||||
"coingecko": "stargaze-protocol",
|
||||
"api": "https://rest.stargaze.publicawesome.dev",
|
||||
"sdk_version": "0.44.3",
|
||||
"coin_type": "118",
|
||||
@ -11,7 +10,7 @@
|
||||
"base": "ustars",
|
||||
"symbol": "STARS",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "stargaze-protocol",
|
||||
"coingecko_id": "stargaze",
|
||||
"logo": "https://dl.airtable.com/.attachments/79f2b74422c63b3fdb0310407d9cc990/5f4f1dd8/RGw3ZaVT_400x400.png"
|
||||
}]
|
||||
}
|
@ -326,7 +326,7 @@ export default class ChainFetch {
|
||||
|
||||
async getAllIBCDenoms(config = null) {
|
||||
const sdkVersion = config ? config.sdk_version : this.config.sdk_version
|
||||
if (compareVersions(sdkVersion, '0.42.4') < 0) {
|
||||
if (compareVersions(sdkVersion, '0.44.2') < 0) {
|
||||
return this.get('/ibc/applications/transfer/v1beta1/denom_traces?pagination.limit=500', config).then(data => commonProcess(data))
|
||||
}
|
||||
return this.get('/ibc/apps/transfer/v1/denom_traces?pagination.limit=500', config).then(data => commonProcess(data))
|
||||
@ -335,7 +335,7 @@ export default class ChainFetch {
|
||||
async getIBCDenomTrace(hash, config = null) {
|
||||
const h = hash.substring(hash.indexOf('/') + 1)
|
||||
const sdkVersion = config ? config.sdk_version : this.config.sdk_version
|
||||
if (compareVersions(sdkVersion, '0.42.4') < 0) {
|
||||
if (compareVersions(sdkVersion, '0.44.2') < 0) {
|
||||
return this.get('/ibc/applications/transfer/v1beta1/denom_traces/'.concat(h), config).then(data => commonProcess(data))
|
||||
}
|
||||
return this.get('/ibc/apps/transfer/v1/denom_traces/'.concat(h), config).then(data => commonProcess(data))
|
||||
|
Loading…
Reference in New Issue
Block a user