Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump hermes to v1.4.1 #257

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions network/hermes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,21 @@
## Getting started

- Install [Rust](https://www.rust-lang.org/tools/install)
- Install [Hermes](https://hermes.informal.systems/installation.html)
- Install [Hermes](https://hermes.informal.systems/quick-start/installation.html) version 1.4.1: `cargo install ibc-relayer-cli --bin hermes --version 1.4.1 --locked`

The following directory contains a basic executable script which handles creation of clients, connections and channels in order to facilitate packet relaying between distributed ledgers using the IBC protocol.
This directory contains Hermes config and startup scripts which handle creation of clients, connections and channels in order to facilitate packet relaying between distributed ledgers using the IBC protocol.
This serves as a basis for demonstration of interchain accounts e2e functionality validation.

## Usage

- Before attempting to create clients, connections and channels, the private keys for existing chains must be restored. Please note - currently the relayer does NOT support a keyring store to securely store the private key file. The key file will be stored on the local file system in the user `$HOME` folder under `$HOME/.hermes`

```
$HERMES_BINARY --config config.toml keys add --key-name testkey_1 --chain $CHAIN_ID_1 --mnemonic-file <(echo "$MNEMONIC_1")
$HERMES_BINARY --config config.toml keys add --key-name testkey_2 --chain $CHAIN_ID_2 --mnemonic-file <(echo "$MNEMONIC_2")
```

- Execute the script
```
./hermes.sh
```

- Useful commands
- Other useful commands
```
# Query client state
hermes query client state $CHAIN_ID 07-tendermint-0
Expand Down
2 changes: 1 addition & 1 deletion network/hermes/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ max_tx_size = 2097152
clock_drift = '5s'
max_block_time = '10s'
trusting_period = '14days'
unbonding_period = '20days'
trust_threshold = { numerator = '1', denominator = '3' }
ccv_consumer_chain = true
address_type = { derivation = 'cosmos' }

[[chains]]
Expand Down