improvement

This commit is contained in:
liangping 2022-09-24 09:06:16 +08:00
parent 7aab7bc353
commit 02e307c6d0
5 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,8 @@
{ {
"chain_name": "cosmos", "chain_name": "cosmos",
"coingecko": "cosmos", "coingecko": "cosmos",
"api": ["https://cosmos.api.ping.pub", "https://cosmos.api.s16.ventures"], "api": ["https://cosmos.api.ping.pub", "https://cosmos.api.s16.ventures", "https://lcd-cosmoshub.whispernode.com", "https://api-cosmoshub-ia.cosmosia.notional.ventures", "https://cosmos-api.polkachu.com"],
"rpc": ["https://cosmoshub.validator.network:443","https://cosmos.rpc.s16.ventures"], "rpc": ["https://cosmos.rpc.s16.ventures", "https://rpc-cosmoshub-ia.cosmosia.notional.ventures"],
"snapshot_provider": "d2008adf6d12f1a1951cce2b5ef531fbecb81895@cosmos.statesync.ping.pub:26656,27483c10217c542908a899024ed26ddfefeee9b9@cosmos.rpc.skystarcapital.xyz:26656",
"sdk_version": "0.44.3", "sdk_version": "0.44.3",
"coin_type": "118", "coin_type": "118",
"min_tx_fee": "800", "min_tx_fee": "800",

View File

@ -1,8 +1,8 @@
{ {
"chain_name": "osmosis", "chain_name": "osmosis",
"coingecko": "osmosis", "coingecko": "osmosis",
"api": ["https://osmosis-api.polkachu.com", "https://osmo.api.ping.pub", "https://lcd-osmosis.blockapsis.com"], "api": ["https://osmosis-api.polkachu.com", "https://osmo.api.ping.pub", "https://lcd-osmosis.blockapsis.com", "https://api-osmosis-ia.cosmosia.notional.ventures"],
"rpc": ["https://osmosis.validator.network:443", "https://rpc-osmosis.blockapsis.com:443"], "rpc": ["https://osmosis-rpc.lavenderfive.com:443", "https://rpc-osmosis.blockapsis.com:443", "https://rpc-osmosis-ia.cosmosia.notional.ventures"],
"snapshot_provider": "", "snapshot_provider": "",
"sdk_version": "0.44.5", "sdk_version": "0.44.5",
"coin_type": "118", "coin_type": "118",

View File

@ -52,13 +52,12 @@
<span class="text-uppercase">{{ chainid || selected_chain.chain_name }}</span> <span class="text-uppercase">{{ chainid || selected_chain.chain_name }}</span>
</h6> </h6>
<small id="data-provider"> <small id="data-provider">
{{ currentApi }} ({{ selected_chain.sdk_version || '-' }})
<b-dropdown <b-dropdown
class="ml-0" class="ml-0"
variant="flat-primary" variant="flat-primary"
no-caret no-caret
toggle-class="p-0" toggle-class="p-0"
right left
sm sm
> >
<template #button-content> <template #button-content>
@ -76,6 +75,7 @@
{{ item }} {{ item }}
</b-dropdown-item> </b-dropdown-item>
</b-dropdown> </b-dropdown>
{{ currentApi }} ({{ selected_chain.sdk_version || '-' }})
</small> </small>
</b-media-body> </b-media-body>
</b-media> </b-media>

View File

@ -80,7 +80,7 @@
v-for="item in roundState.height_vote_set" v-for="item in roundState.height_vote_set"
:key="item.round" :key="item.round"
> >
Round: {{ item.round }} {{ item.prevotes_bit_array }} <small>Round: {{ item.round }} {{ item.prevotes_bit_array }}</small>
<b-card-body class="px-0"> <b-card-body class="px-0">
<b-badge <b-badge
v-for="(pre, i) in item.prevotes" v-for="(pre, i) in item.prevotes"

View File

@ -214,6 +214,7 @@
:fields="excelCols" :fields="excelCols"
:data="list" :data="list"
type="csv" type="csv"
worksheet="Validators"
name="validators.xls" name="validators.xls"
> >
<b-button <b-button