diff --git a/package.json b/package.json index 5458ac09..90c5f1c7 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "md-editor-v3": "^2.8.1", "numeral": "^2.0.6", "osmojs": "^14.0.0-rc.0", + "ping-widget": "^0.0.4", "pinia": "^2.0.28", "postcss": "^8.4.23", "prismjs": "^1.29.0", diff --git a/src/main.ts b/src/main.ts index 7653f94d..4ab1ce78 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,5 @@ /* eslint-disable import/order */ +import 'ping-widget'; import '@/plugins/vuetify/@iconify/icons-bundle'; import App from '@/App.vue'; import layoutsPlugin from '@/plugins/vuetify/layouts'; diff --git a/src/modules/[chain]/block/block.ts b/src/modules/[chain]/block/block.ts index 5c710b91..c561e94a 100644 --- a/src/modules/[chain]/block/block.ts +++ b/src/modules/[chain]/block/block.ts @@ -23,12 +23,16 @@ export const useBlockModule = defineStore('blockModule', { txsInRecents() { const txs = [] as { hash: string; tx: DecodedTxRaw }[]; this.recents.forEach((x) => - x.block?.data?.txs.forEach((tx: Uint8Array) => - txs.push({ - hash: hashTx(tx), - tx: decodeTxRaw(tx), - }) - ) + x.block?.data?.txs.forEach((tx: Uint8Array) => { + if (tx) { + try { + txs.push({ + hash: hashTx(tx), + tx: decodeTxRaw(tx), + }); + } catch (e) {} + } + }) ); return txs; }, diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue index 72288a7f..a3dc369b 100644 --- a/src/modules/[chain]/block/index.vue +++ b/src/modules/[chain]/block/index.vue @@ -38,8 +38,8 @@ const format = useFormatter(); Time - - + + Fees - - + + {{ item.hash diff --git a/src/modules/[chain]/cosmwasm/[code_id]/contracts.vue b/src/modules/[chain]/cosmwasm/[code_id]/contracts.vue index 2785e1ad..bdaf12a8 100644 --- a/src/modules/[chain]/cosmwasm/[code_id]/contracts.vue +++ b/src/modules/[chain]/cosmwasm/[code_id]/contracts.vue @@ -139,6 +139,7 @@ const result = ref(''); + Contract States @@ -159,6 +160,7 @@ const result = ref(''); + Query Contract diff --git a/src/modules/[chain]/gov/[proposal_id].vue b/src/modules/[chain]/gov/[proposal_id].vue index 6272ba65..39d0b75c 100644 --- a/src/modules/[chain]/gov/[proposal_id].vue +++ b/src/modules/[chain]/gov/[proposal_id].vue @@ -300,7 +300,13 @@ const processList = computed(()=>{ - Load more + diff --git a/src/modules/[chain]/ibc/index.vue b/src/modules/[chain]/ibc/index.vue index 1ccd9fe3..b403962f 100644 --- a/src/modules/[chain]/ibc/index.vue +++ b/src/modules/[chain]/ibc/index.vue @@ -48,7 +48,16 @@ function color(v: string) { {{ v.delay_period }} - {{ v.state }} +
+ + {{ v.state }} +
diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue index a1d47a15..c8ccb7e4 100644 --- a/src/modules/[chain]/index.vue +++ b/src/modules/[chain]/index.vue @@ -71,7 +71,7 @@ const comLinks = [ class="bg-base-100 rounded shadow mb-4" >
-
+
{{ coinInfo.name }} ({{ coinInfo.symbol @@ -100,7 +100,9 @@ const comLinks = [
-