Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Mar 7, 2025
1 parent 76eb552 commit ae1c408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/sequencer-relayer/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ Namepsace to deploy elements into.
{{- end }}

{{- define "sequencer-relayer.sequencerChainId" -}}
{{- if eq .Values.global.network "custom" }}{{ .Values.config.sequencerChainId }}
{{- if eq .Values.global.network "custom" }}{{ .Values.config.relayer.sequencerChainId }}
{{- else if eq .Values.global.network "mainnet" }}astria
{{- else if eq .Values.global.network "dawn-1" }}dawn-1
{{- else if eq .Values.global.network "dusk-11" }}astria-dusk-11
{{- end }}
{{- end }}

{{- define "sequencer-relayer.celestiaChainId" -}}
{{- if eq .Values.global.network "custom" }}{{ .Values.config.celestiaChainId }}
{{- if eq .Values.global.network "custom" }}{{ .Values.config.relayer.celestiaChainId }}
{{- else if eq .Values.global.network "mainnet" }}celestia
{{- else if eq .Values.global.network "dawn-1" }}mocha-4
{{- else if eq .Values.global.network "dusk-11" }}mocha-4
{{- end }}
{{- end }}

{{- define "sequencer-relayer.blockTimeMs" -}}
{{- if or (eq .Values.global.network "custom") (eq .Values.global.dev "true") }}{{ .Values.config.blockTimeMs }}
{{- if or (eq .Values.global.network "custom") (eq .Values.global.dev "true") }}{{ .Values.config.relayer.blockTimeMs }}
{{- else if eq .Values.global.network "mainnet" }}1000
{{- else if eq .Values.global.network "dawn-1" }}1000
{{- else if eq .Values.global.network "dusk-11" }}1000
Expand Down

0 comments on commit ae1c408

Please sign in to comment.