Skip to content

Commit

Permalink
hermes: add chain type to all config examples
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor committed Oct 13, 2023
1 parent f28601b commit 64083a3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci/misbehaviour/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ memo_prefix = ''

[[chains]]
id = 'ibc-1'
type = "CosmosSdk"
rpc_addr = 'http://127.0.0.1:26557'
grpc_addr = 'http://127.0.0.1:9091'
event_source = { mode = 'push', url = 'ws://127.0.0.1:26557/websocket', batch_delay = '500ms' }
Expand Down
3 changes: 3 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ port = 5555
# Specify the chain ID. Required
id = 'ibc-0'

# Specify the chain type, currently only `"CosmosSdk"` is supported.
type = "CosmosSdk"

# Whether or not this is a CCV consumer chain. Default: false
# Only specifiy true for CCV consumer chain, but NOT for sovereign chains.
ccv_consumer_chain = false
Expand Down
2 changes: 2 additions & 0 deletions guide/src/templates/files/hermes/local-chains/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ port = 3001

[[chains]]
id = 'ibc-0'
type = "CosmosSdk"
rpc_addr = 'http://localhost:27030'
grpc_addr = 'http://localhost:27032'
event_source = { mode = 'push', url = 'ws://localhost:27030/websocket', batch_delay = '200ms' }
Expand Down Expand Up @@ -55,6 +56,7 @@ trust_threshold = { numerator = '2', denominator = '3' }

[[chains]]
id = 'ibc-1'
type = "CosmosSdk"
rpc_addr = 'http://localhost:27040'
grpc_addr = 'http://localhost:27042'
event_source = { mode = 'push', url = 'ws://localhost:27040/websocket', batch_delay = '200ms' }
Expand Down
2 changes: 1 addition & 1 deletion guide/src/templates/files/hermes/production/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ list = [[
]]

[chains.address_type]
derivation = 'cosmos'
derivation = 'cosmos'

0 comments on commit 64083a3

Please sign in to comment.