From e8f86f36407edbcbb602c63f13b5cc5478892491 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Mon, 7 Oct 2024 11:59:25 +0200 Subject: [PATCH] Remove duplicate flag --- charts/op-geth/Chart.yaml | 2 +- charts/op-geth/README.md | 2 +- charts/op-geth/templates/scripts/_init-genesis.tpl | 8 +------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/charts/op-geth/Chart.yaml b/charts/op-geth/Chart.yaml index ce82b9d8..3a73a1a6 100644 --- a/charts/op-geth/Chart.yaml +++ b/charts/op-geth/Chart.yaml @@ -1,7 +1,7 @@ --- name: op-geth apiVersion: v2 -version: 0.3.3 +version: 0.3.4 description: Celo implementation for op-geth execution engine (Optimism Rollup) home: https://clabs.co sources: diff --git a/charts/op-geth/README.md b/charts/op-geth/README.md index cb043e01..7958f029 100644 --- a/charts/op-geth/README.md +++ b/charts/op-geth/README.md @@ -1,6 +1,6 @@ # op-geth -![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square) +![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square) Celo implementation for op-geth execution engine (Optimism Rollup) Initially based on [dysnix/charts/op-geth](https://github.com/dysnix/charts/tree/main/dysnix/op-geth). diff --git a/charts/op-geth/templates/scripts/_init-genesis.tpl b/charts/op-geth/templates/scripts/_init-genesis.tpl index 78ed4e42..6a9688f7 100644 --- a/charts/op-geth/templates/scripts/_init-genesis.tpl +++ b/charts/op-geth/templates/scripts/_init-genesis.tpl @@ -9,14 +9,8 @@ if [ ! -f $datadir/.initialized ]; then {{- end }} {{- if .Values.init.genesis.enabled }} wget -qO $datadir/genesis.json "{{ .Values.init.genesis.url }}" - {{- $stateScheme := "" }} - {{- if .Values.config.state }} - {{- if .Values.config.state.scheme }} - {{- $stateScheme = printf " --state.scheme=%s" .Values.config.state.scheme }} - {{- end }} - {{- end }} geth \ - --datadir={{ .Values.config.datadir }}{{ $stateScheme }} \ + --datadir={{ .Values.config.datadir }} \ {{- with .Values.init.extraArgs }} {{- range . }} {{- tpl (.) $ | nindent 6 }} \