Skip to content

Commit

Permalink
chore: update hermes
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverHappened committed Jul 20, 2023
1 parent 6ab7542 commit 53ea965
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-neutron:
cd $(APP_DIR)/neutron && $(MAKE) build-docker-image

build-hermes:
@docker build -f dockerbuilds/Dockerfile.hermes -t hermes:1.3.0-a285c01 .
@docker build -f dockerbuilds/Dockerfile.hermes -t hermes:1.6.0-1c1cf029 .

build-relayer:
cd $(APP_DIR)/neutron-query-relayer/ && make build-docker
Expand Down
2 changes: 1 addition & 1 deletion setup/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- neutron-testing

hermes:
image: hermes:1.3.0-a285c01
image: hermes:1.6.0-1c1cf029
depends_on:
- "neutron-node"
- "gaia-node"
Expand Down
2 changes: 1 addition & 1 deletion setup/dockerbuilds/Dockerfile.hermes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ COPY ./hermes/ /app/network/hermes/
WORKDIR /app
RUN apt-get update && apt-get install -y wget && \
PLATFORM=`uname -a | awk '{print $(NF-1)}'` && \
VERSION=v1.4.0 && \
VERSION=v1.6.0 && \
TARNAME="hermes-${VERSION}-${PLATFORM}-unknown-linux-gnu.tar.gz" && \
wget "https://github.com/informalsystems/hermes/releases/download/${VERSION}/${TARNAME}" && \
tar -xf "$TARNAME" && \
Expand Down
7 changes: 3 additions & 4 deletions setup/hermes/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ port = 3001
id = 'test-1'
rpc_addr = 'http://neutron-node:26657'
grpc_addr = 'http://neutron-node:9090'
websocket_addr = 'ws://neutron-node:26657/websocket'
event_source = { mode = 'push', url = 'ws://neutron-node:26657/websocket', batch_delay = '200ms' }
ccv_consumer_chain = true
rpc_timeout = '10s'
account_prefix = 'neutron'
key_name = 'testkey_1'
Expand All @@ -107,15 +108,14 @@ max_tx_size = 2097152
clock_drift = '5s'
max_block_time = '10s'
trusting_period = '14days'
unbonding_period = '20days'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }

[[chains]]
id = 'test-2'
rpc_addr = 'http://gaia-node:26657'
grpc_addr = 'http://gaia-node:9090'
websocket_addr = 'ws://gaia-node:26657/websocket'
event_source = { mode = 'push', url = 'ws://gaia-node:26657/websocket', batch_delay = '200ms' }
rpc_timeout = '10s'
account_prefix = 'cosmos'
key_name = 'testkey_2'
Expand All @@ -129,6 +129,5 @@ max_tx_size = 2097152
clock_drift = '5s'
max_block_time = '10s'
trusting_period = '14days'
unbonding_period = '21days'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }

0 comments on commit 53ea965

Please sign in to comment.