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