diff --git a/chains/testnet/namada.json b/chains/testnet/namada.json index d8ac962908..976c16adaa 100644 --- a/chains/testnet/namada.json +++ b/chains/testnet/namada.json @@ -1,7 +1,7 @@ { "chain_name": "namada", - "api": ["http://api.namada.info","http://api.namada.encipher88.tech"], - "rpc": ["http://namada-rpc.zenode.app:80"], + "api": [ "https://api-namada-testnet.whispernode.com:443"], + "rpc": [ "https://rpc-namada-testnet.whispernode.com:443"], "snapshot_provider": "", "sdk_version": "0.46.15", "coin_type": "118", @@ -12,7 +12,7 @@ "base": "unam", "symbol": "NAM", "exponent": "18", - "coingecko_id": "namada", + "coingecko_id": "", "logo": "/logos/namada.webp" }] } diff --git a/src/modules/[chain]/gov/[proposal_id].vue b/src/modules/[chain]/gov/[proposal_id].vue index 55a975ffa6..fd7e28fb09 100644 --- a/src/modules/[chain]/gov/[proposal_id].vue +++ b/src/modules/[chain]/gov/[proposal_id].vue @@ -211,9 +211,17 @@ function metaItem(metadata: string|undefined): { title: string; summary: string {{ status }} -
+ + +
+ +

@@ -356,7 +369,8 @@ function metaItem(metadata: string|undefined): { title: string; summary: string -
+ +
diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue index efab0c8240..b6b07f6810 100644 --- a/src/modules/[chain]/staking/index.vue +++ b/src/modules/[chain]/staking/index.vue @@ -386,14 +386,21 @@ loadAvatars(); }" class="font-weight-medium" > - {{ v.description?.moniker }} + + - {{ - v.description?.website || - v.description?.identity || - '-' - }} + + {{ + v.description?.website || + v.description?.identity || + '-' + }} + @@ -401,27 +408,35 @@ loadAvatars();
-
- {{ - format.formatToken( - { - amount: parseInt( - v.tokens - ).toString(), - denom: staking.params - .bond_denom, - }, - true, - '0,0' - ) - }} -
+ + {{ - format.calculatePercent( - v.delegator_shares, - staking.totalPower - ) - }} + format.calculatePercent( + v.delegator_shares, + staking.totalPower + ) + }}
diff --git a/src/modules/[chain]/uptime/index.vue b/src/modules/[chain]/uptime/index.vue index 56ecc07547..f98012f733 100644 --- a/src/modules/[chain]/uptime/index.vue +++ b/src/modules/[chain]/uptime/index.vue @@ -191,7 +191,8 @@ function fetchAllKeyRotation() {
({ subtitle: key, value: value }) - ); - this.nodeVersion.items = Object.entries(res.default_node_info).map( - ([key, value]) => ({ subtitle: key, value: value }) - ); + if (res) { + localStorage.setItem(`sdk_version_${this.blockchain.chainName}`, res.application_version?.cosmos_sdk_version); + this.appVersion.items = Object.entries(res.application_version).map( + ([key, value]) => ({ subtitle: key, value: value }) + ); + this.nodeVersion.items = Object.entries(res.default_node_info).map( + ([key, value]) => ({ subtitle: key, value: value }) + ); + } else { + localStorage.setItem(`sdk_version_${this.blockchain.chainName}`, "v0.45.1"); + } }, async getBaseTendermintBlockLatest() { return await this.blockchain.rpc?.getBaseBlockLatest();