From e56381b3453c3e3e0bc2fa26c8fd57254dd480b2 Mon Sep 17 00:00:00 2001 From: ido Date: Thu, 12 Dec 2024 18:52:40 +0200 Subject: [PATCH] celestia-local blocktime default --- charts/celestia-local/Chart.yaml | 2 +- charts/celestia-local/files/scripts/init-celestia-appd.sh | 5 ++++- charts/celestia-local/values.yaml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/celestia-local/Chart.yaml b/charts/celestia-local/Chart.yaml index 797cb6d7da..43318780ce 100644 --- a/charts/celestia-local/Chart.yaml +++ b/charts/celestia-local/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.7.0 +version: 0.7.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/celestia-local/files/scripts/init-celestia-appd.sh b/charts/celestia-local/files/scripts/init-celestia-appd.sh index 80ac2bd74a..10b4945a93 100755 --- a/charts/celestia-local/files/scripts/init-celestia-appd.sh +++ b/charts/celestia-local/files/scripts/init-celestia-appd.sh @@ -62,6 +62,9 @@ sed -i'.bak' 's#"null"#"kv"#g' "${home_dir}"/config/config.toml sed -i'.bak' 's#discard_abci_responses = true#discard_abci_responses = false#g' "${home_dir}"/config/config.toml # Override the VotingPeriod from 1 week to 1 minute sed -i'.bak' 's#"604800s"#"60s"#g' "${home_dir}"/config/genesis.json +# Set the CommitTimeout to 5 second +sed -i'.bak' 's#timeout_commit = "11s"#timeout_commit = "5s"#g' "${home_dir}"/config/config.toml + if $fast; then - sed -i'.bak' 's#timeout_commit = "11s"#timeout_commit = "1s"#g' "${home_dir}"/config/config.toml + sed -i'.bak' 's#timeout_commit = "5s"#timeout_commit = "1s"#g' "${home_dir}"/config/config.toml fi diff --git a/charts/celestia-local/values.yaml b/charts/celestia-local/values.yaml index 48766020bc..68ef2a3dd3 100644 --- a/charts/celestia-local/values.yaml +++ b/charts/celestia-local/values.yaml @@ -16,7 +16,7 @@ storage: path: "/data/celestia-data" celestiaAppImage: "ghcr.io/celestiaorg/celestia-app:v2.3.1" -celestiaNodeImage: "ghcr.io/celestiaorg/celestia-node:v0.18.3-mocha" +celestiaNodeImage: "ghcr.io/celestiaorg/celestia-node:v0.20.4" podSecurityContext: runAsUser: 10001