From e9b4afd7fa042fce927506e2fdf244f5419c63bd Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Thu, 15 Jun 2023 12:05:35 +0800
Subject: [PATCH] improve background color
---
src/modules/[chain]/statesync/index.vue | 28 ++++++++++++-------------
src/modules/[chain]/widget/index.vue | 14 ++++++-------
src/modules/wallet/accounts.vue | 2 +-
tailwind.config.js | 1 +
4 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/src/modules/[chain]/statesync/index.vue b/src/modules/[chain]/statesync/index.vue
index 57bd932e..c89de162 100644
--- a/src/modules/[chain]/statesync/index.vue
+++ b/src/modules/[chain]/statesync/index.vue
@@ -70,16 +70,16 @@ onMounted(() => {
We can configure Tendermint to use state sync in
$DAEMON_HOME/config/config.toml.
-
[state-sync]
- enable = true
-
- rpc_servers = "{{ rpcs }}"
- trust_height = {{ height }}
- trust_hash = "{{hash}}"
-
+ [state-sync]
+ enable = true
+
+ rpc_servers = "{{ rpcs }}"
+ trust_height = {{ height }}
+ trust_hash = "{{hash}}"
+
# 2/3 of unbonding time
- trust_period = "168h"
+ trust_period = "168h"
{{ appName }} start
@@ -97,14 +97,14 @@ onMounted(() => {
To make state sync works, we can enable snapshot in
$DAEMON_HOME/config/app.toml
[state-sync]
+ [state-sync]
# snapshot-interval specifies the block interval at which local state sync snapshots are
# taken (0 to disable). Must be a multiple of pruning-keep-every.
- snapshot-interval = 1000
-
+ snapshot-interval = 1000
+
# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). Each snapshot is about 500MiB
- snapshot-keep-recent = 2
+ snapshot-keep-recent = 2
<script type="module" src="https://unpkg.com/ping-widget@latest/dist/ping-widget.js">
+ <script type="module" src="https://unpkg.com/ping-widget@latest/dist/ping-widget.js">
<ping-connect-wallet chain-id="{{ chainId }}" hd-path="{{ hdPath }}"/>
+ <ping-connect-wallet chain-id="{{ chainId }}" hd-path="{{ hdPath }}"/>
<ping-token-convert chain-name="{{ chainName }}" endpoint="{{endpoint}}" hd-path="{{hdPath}}"/>
- <label for="PingTokenConvert" class="btn btn-sm">Buy {{chainName.toUpperCase()}}</label>
+ <ping-token-convert chain-name="{{ chainName }}" endpoint="{{endpoint}}" hd-path="{{hdPath}}"/>
+ <label for="PingTokenConvert" class="btn btn-sm">Buy {{chainName.toUpperCase()}}</label>