From 9e6c7aafceb0c9c9bad53144f20eff0a97867a4c Mon Sep 17 00:00:00 2001 From: slandymani Date: Thu, 19 May 2022 20:48:30 +0300 Subject: [PATCH 1/3] add odin chain --- src/chains/mainnet/odin.json | 18 ++++++++++++++++++ src/chains/testnet/odin.json | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/chains/mainnet/odin.json create mode 100644 src/chains/testnet/odin.json diff --git a/src/chains/mainnet/odin.json b/src/chains/mainnet/odin.json new file mode 100644 index 00000000..426e619d --- /dev/null +++ b/src/chains/mainnet/odin.json @@ -0,0 +1,18 @@ +{ + "chain_name": "odin-mainnet-freya", + "api": "https://odinapi.chillvalidation.com", + "rpc": ["https://node.odin-freya-website.odinprotocol.io/mainnet/a"], + "snapshot_provider": "", + "addr_prefix": "odin", + "coin_type": "118", + "min_tx_fee": "2500", + "assets": [{ + "base": "loki", + "symbol": "ODIN", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/odin.png" + }], + "logo": "/logos/odin.png", + "sdk_version": "0.44.5" +} \ No newline at end of file diff --git a/src/chains/testnet/odin.json b/src/chains/testnet/odin.json new file mode 100644 index 00000000..231af013 --- /dev/null +++ b/src/chains/testnet/odin.json @@ -0,0 +1,18 @@ +{ + "chain_name": "odin-testnet-havi", + "api": "https://node.odin-freya-website.odinprotocol.io/a/api", + "rpc": ["https://node.odin-freya-website.odinprotocol.io/a"], + "snapshot_provider": "", + "addr_prefix": "odin", + "coin_type": "118", + "min_tx_fee": "2500", + "assets": [{ + "base": "loki", + "symbol": "ODIN", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/odin.png" + }], + "logo": "/logos/odin.png", + "sdk_version": "0.44.5" +} \ No newline at end of file From f4fa93cf9265bcf4ba8f82d7f01cb98ba031c265 Mon Sep 17 00:00:00 2001 From: slandymani Date: Fri, 20 May 2022 11:16:34 +0300 Subject: [PATCH 2/3] change chain name --- src/chains/mainnet/odin.json | 4 ++-- src/chains/testnet/odin.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chains/mainnet/odin.json b/src/chains/mainnet/odin.json index 426e619d..899c14d5 100644 --- a/src/chains/mainnet/odin.json +++ b/src/chains/mainnet/odin.json @@ -1,6 +1,6 @@ { - "chain_name": "odin-mainnet-freya", - "api": "https://odinapi.chillvalidation.com", + "chain_name": "odin", + "api": "https://node.odin-freya-website.odinprotocol.io/mainnet/a/api", "rpc": ["https://node.odin-freya-website.odinprotocol.io/mainnet/a"], "snapshot_provider": "", "addr_prefix": "odin", diff --git a/src/chains/testnet/odin.json b/src/chains/testnet/odin.json index 231af013..6ab62a9a 100644 --- a/src/chains/testnet/odin.json +++ b/src/chains/testnet/odin.json @@ -1,5 +1,5 @@ { - "chain_name": "odin-testnet-havi", + "chain_name": "odin", "api": "https://node.odin-freya-website.odinprotocol.io/a/api", "rpc": ["https://node.odin-freya-website.odinprotocol.io/a"], "snapshot_provider": "", From 29d698b97cfa1006700e532dedc0f6e0997e6ca5 Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Fri, 20 May 2022 17:42:42 +0900 Subject: [PATCH 3/3] fix: not matching between denim and amount in Summary asset view. --- src/views/SummaryAssetsComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/SummaryAssetsComponent.vue b/src/views/SummaryAssetsComponent.vue index b5b4e613..1fac7ea5 100644 --- a/src/views/SummaryAssetsComponent.vue +++ b/src/views/SummaryAssetsComponent.vue @@ -69,7 +69,7 @@ export default { const trace = this.denoms[v] return `* ${formatTokenDenom(trace.base_denom)} (${trace.path})` } - return v + return formatTokenDenom(v) }, }, }