Skip to content

Commit

Permalink
Update hermes version to v1.6.0 and config close to mainnet. (#257)
Browse files Browse the repository at this point in the history
* Update hermes version to v1.6.0 and config close to mainnet.
  • Loading branch information
dzmitryhil authored Aug 2, 2023
1 parent 13224a4 commit 22df2e9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 25 deletions.
10 changes: 5 additions & 5 deletions build/tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ var tools = map[Name]Tool{

// https://github.com/informalsystems/hermes/releases
Hermes: {
Version: "v1.5.1",
Version: "v1.6.0",
Sources: Sources{
PlatformDockerAMD64: {
URL: "https://github.com/informalsystems/hermes/releases/download/v1.5.1/hermes-v1.5.1-x86_64-unknown-linux-gnu.tar.gz",
Hash: "sha256:d370cfde598ff5096707532e7dd8f71a3d1b5b5762891078f0a9fff8fbcf5b82",
URL: "https://github.com/informalsystems/hermes/releases/download/v1.6.0/hermes-v1.6.0-x86_64-unknown-linux-gnu.tar.gz",
Hash: "sha256:20d2798e221a6b90956bfd237bb171b5ca5fd3e1368fb58d4fbac3dc0093aadb",
},
PlatformDockerARM64: {
URL: "https://github.com/informalsystems/hermes/releases/download/v1.5.1/hermes-v1.5.1-aarch64-unknown-linux-gnu.tar.gz",
Hash: "sha256:79786507d8ec786c9e35c113d14c352859917bd5c4d07b3c39d23e4878d5f763",
URL: "https://github.com/informalsystems/hermes/releases/download/v1.6.0/hermes-v1.6.0-aarch64-unknown-linux-gnu.tar.gz",
Hash: "sha256:3d4939aef95886d5016f1346de62a16e18469326ecf9b1159aa571ab8682b38d",
},
},
Binaries: map[string]string{
Expand Down
34 changes: 14 additions & 20 deletions infra/apps/hermes/config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Specify the verbosity for the relayer logging output. Default: 'info'
# Valid options are 'error', 'warn', 'info', 'debug', 'trace'.
log_level = 'info'
log_level = 'debug'


# Specify the mode to be used by the relayer. [Required]
Expand All @@ -24,7 +24,7 @@ enabled = true
refresh = true

# Whether or not to enable misbehaviour detection for clients. [Default: true]
misbehaviour = true
misbehaviour = false

# Specify the connections mode.
[mode.connections]
Expand Down Expand Up @@ -62,7 +62,7 @@ clear_on_start = true
# If set to `false`, the following telemetry metrics will be disabled:
# `acknowledgment_packets_confirmed`, `receive_packets_confirmed` and `timeout_packets_confirmed`.
# [Default: false]
tx_confirmation = false
tx_confirmation = true

# Auto register the counterparty payee on a destination chain to
# the relayer's address on the source chain. This can be used
Expand All @@ -78,7 +78,7 @@ auto_register_counterparty_payee = false
[rest]

# Whether or not to enable the REST service. Default: false
enabled = true
enabled = false

# Specify the IPv4/6 host over which the built-in HTTP server will serve the RESTful
# API requests. Default: 127.0.0.1
Expand Down Expand Up @@ -107,41 +107,35 @@ port = {{ .TelemetryPort }}
[[chains]]
id = '{{ .CoreumChanID }}'
rpc_addr = '{{ .CoreumRPCURL }}'
rpc_timeout = '30s'
grpc_addr = '{{ .CoreumGRPCURL }}'
websocket_addr = '{{ .CoreumWebsocketURL }}'
rpc_timeout = '10s'
event_source = { mode = 'push', url = '{{ .CoreumWebsocketURL }}', batch_delay = '500ms' }
account_prefix = '{{ .CoreumAccountPrefix }}'
key_name = 'coreum-key'
store_prefix = 'ibc'
default_gas = 100000
max_gas = 4000000
gas_price = { price = {{ .CoreumGasPrice.Amount }}, denom = '{{ .CoreumGasPrice.Denom }}' }
gas_multiplier = 1.1
max_msg_num = 30
max_tx_size = 2097152
clock_drift = '30s'
max_block_time = '30s'
trusting_period = '6days'
gas_multiplier = 1.5
clock_drift = '60s'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }
packet_filter = { policy = 'allow', list = [['transfer', '*']] }

[[chains]]
id = '{{ .PeerChanID }}'
rpc_addr = '{{ .PeerRPCURL }}'
rpc_timeout = '30s'
grpc_addr = '{{ .PeerGRPCURL }}'
websocket_addr = '{{ .PeerWebsocketURL }}'
rpc_timeout = '10s'
event_source = { mode = 'push', url = '{{ .PeerWebsocketURL }}', batch_delay = '500ms' }
account_prefix = '{{ .PeerAccountPrefix }}'
key_name = 'peer-key'
store_prefix = 'ibc'
default_gas = 100000
max_gas = 4000000
gas_price = { price = {{ .PeerGasPrice.Amount }}, denom = '{{ .PeerGasPrice.Denom }}' }
gas_multiplier = 1.1
max_msg_num = 30
max_tx_size = 2097152
clock_drift = '30s'
max_block_time = '30s'
trusting_period = '6days'
gas_multiplier = 1.5
clock_drift = '60s'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }
packet_filter = { policy = 'allow', list = [['transfer', '*']] }

0 comments on commit 22df2e9

Please sign in to comment.