Skip to content

Commit

Permalink
fix hermes configmap (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored May 2, 2024
1 parent da7b1b0 commit 1de8c0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/devnet/templates/relayers/hermes/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ data:
max_block_time = "{{ $chainConfig.max_block_time | default "30s" }}"
trusting_period = "{{ $chainConfig.trusting_period | default "75s" }}"
trust_threshold = { numerator = "{{ ($chainConfig.trust_threshold | default dict).numerator | default "2" }}", denominator = "{{ ($chainConfig.trust_threshold | default dict).denominator | default "3" }}" }
{{- if eq $fullchain.type "evmos" }}
{{- if eq $fullchain.name "evmos" }}
address_type = { derivation = 'ethermint', proto_type = { pk_type = '/ethermint.crypto.v1.ethsecp256k1.PubKey' } }
gas_price = { price = 2500000, denom = "{{ $fullchain.denom }}" }
{{- else if eq $fullchain.type "injective" }}
{{- else if eq $fullchain.name "injective" }}
address_type = { derivation = 'ethermint', proto_type = { pk_type = '/injective.crypto.v1beta1.ethsecp256k1.PubKey' } }
gas_price = { price = 2500000, denom = "{{ $fullchain.denom }}" }
{{- else }}
Expand Down Expand Up @@ -255,10 +255,10 @@ data:
max_block_time = "{{ $chainConfig.max_block_time | default "30s" }}"
trusting_period = "{{ $chainConfig.trusting_period | default "75s" }}"
trust_threshold = { numerator = "{{ ($chainConfig.trust_threshold | default dict).numerator | default "2" }}", denominator = "{{ ($chainConfig.trust_threshold | default dict).denominator | default "3" }}" }
{{- if eq $fullchain.type "evmos" }}
{{- if eq $fullchain.name "evmos" }}
address_type = { derivation = 'ethermint', proto_type = { pk_type = '/ethermint.crypto.v1.ethsecp256k1.PubKey' } }
gas_price = { price = 2500000, denom = "{{ $fullchain.denom }}" }
{{- else if eq $fullchain.type "injective" }}
{{- else if eq $fullchain.name "injective" }}
address_type = { derivation = 'ethermint', proto_type = { pk_type = '/injective.crypto.v1beta1.ethsecp256k1.PubKey' } }
gas_price = { price = 2500000, denom = "{{ $fullchain.denom }}" }
{{- else }}
Expand Down

0 comments on commit 1de8c0f

Please sign in to comment.