From 1de8c0f3b9d1108987f17c4d5c7c4a18c2a60307 Mon Sep 17 00:00:00 2001 From: Anmol Date: Thu, 2 May 2024 13:53:27 +0530 Subject: [PATCH] fix hermes configmap (#436) --- charts/devnet/templates/relayers/hermes/configmap.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/devnet/templates/relayers/hermes/configmap.yaml b/charts/devnet/templates/relayers/hermes/configmap.yaml index c625d3ad..f33451b6 100644 --- a/charts/devnet/templates/relayers/hermes/configmap.yaml +++ b/charts/devnet/templates/relayers/hermes/configmap.yaml @@ -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 }} @@ -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 }}