Skip to content

Commit

Permalink
Improve visibility of config auto command (informalsystems#3301)
Browse files Browse the repository at this point in the history
* Add comment about config auto command to example config.toml

* Improve help message for config auto command

* Make it more apparent in the guide that config files can be generated

* Reference the config-auto command more in the guide

* Cargo fmt

* Update guide templates

* Update guide templates

* Incorporate PR feedback

* Fix command templates

* Add gaia version template

* Use gaia version template

---------

Signed-off-by: Sean Chen <seanchen11235@gmail.com>
Co-authored-by: Romain Ruetschi <romain@informal.systems>
  • Loading branch information
2 people authored and git committed May 24, 2023
1 parent fdda7bb commit f8e4b01
Show file tree
Hide file tree
Showing 97 changed files with 146 additions and 131 deletions.
6 changes: 6 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This is an example configuration for Hermes. It is meant to be
# used as a reference, _NOT_ for configuring a production relayer.
# If you're looking to configure a production relayer for some chains,
# try using the `hermes config auto` command to generate a config
# file that serves as the starting point for configuring Hermes.

# The global section has parameters that apply globally to the relayer operation.
[global]

Expand Down
18 changes: 8 additions & 10 deletions crates/relayer-cli/src/chain_registry.rs
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
//! Contains functions to generate a relayer config for a given chain
use futures::future::join_all;
use http::Uri;
use std::collections::HashMap;
use std::fmt::Display;
use std::marker::Send;

use futures::future::join_all;
use http::Uri;
use tokio::task::{JoinError, JoinHandle};
use tracing::trace;

use tendermint_light_client_verifier::types::TrustThreshold;
use tendermint_rpc::Url;

use ibc_chain_registry::asset_list::AssetList;
use ibc_chain_registry::chain::ChainData;
use ibc_chain_registry::error::RegistryError;
use ibc_chain_registry::fetchable::Fetchable;
use ibc_chain_registry::formatter::{SimpleGrpcFormatter, UriFormatter};
use ibc_chain_registry::paths::IBCPath;
use ibc_chain_registry::querier::GrpcHealthCheckQuerier;
use ibc_chain_registry::querier::HermesConfigData;
use ibc_chain_registry::querier::QueryContext;
use ibc_chain_registry::querier::SimpleHermesRpcQuerier;
use ibc_chain_registry::querier::*;
use ibc_relayer::config::filter::{FilterPattern, PacketFilter};
use ibc_relayer::config::gas_multiplier::GasMultiplier;
use ibc_relayer::config::types::{MaxMsgNum, MaxTxSize, Memo};
use ibc_relayer::config::{default, AddressType, ChainConfig, GasPrice};
use ibc_relayer::keyring::Store;

use tendermint_light_client_verifier::types::TrustThreshold;
use tendermint_rpc::Url;

const MAX_HEALTHY_QUERY_RETRIES: u8 = 5;

/// Generate packet filters from Vec<IBCPath> and load them in a Map(chain_name -> filter).
Expand Down Expand Up @@ -215,7 +213,7 @@ async fn get_data_from_handles<T>(
data_array
}

/// Generates a `Vec<ChainConfig>` for a slice of chains names by fetching data from
/// Generates a `Vec<ChainConfig>` for a slice of chain names by fetching data from
/// <https://github.com/cosmos/chain-registry>. Gas settings are set to default values.
///
/// # Arguments
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-cli/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn default_config_file() -> Option<PathBuf> {
/// Cli Subcommands
#[derive(Command, Parser, Debug, Runnable)]
pub enum CliCmd {
/// Validate Hermes configuration file
/// Generate a new Hermes configuration file or validate an existing one
#[clap(subcommand)]
Config(ConfigCmd),

Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-cli/src/commands/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ pub enum ConfigCmd {
/// Validate the relayer configuration
Validate(validate::ValidateCmd),

///Automatically generate a configuration file by fetching data from the chain-registry. If a pair of chains exists in the _IBC folder of the chain-registry then a corresponding packet filter is added to the configuration
/// Automatically generate a config.toml for the specified chain(s)
Auto(auto::AutoCmd),
}
12 changes: 4 additions & 8 deletions crates/relayer-cli/src/commands/config/auto.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
use crate::chain_registry::get_configs;
use abscissa_core::{
clap::Parser,
{Command, Runnable},
};
use abscissa_core::clap::Parser;
use abscissa_core::{Command, Runnable};

use crate::conclude::Output;

use ibc_relayer::{
config::{store, ChainConfig, Config},
keyring::list_keys,
};
use ibc_relayer::config::{store, ChainConfig, Config};
use ibc_relayer::keyring::list_keys;

use std::path::PathBuf;
use tracing::{info, warn};
Expand Down
2 changes: 1 addition & 1 deletion guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mdBook is a utility to create modern online books from Markdown files.
This guide should be permanently deployed at its latest stable version at
[hermes.informal.systems](https://hermes.informal.systems).

Current version: `v1.0.0`.
Current version: `v1.4.1`.

The version of this guide is aligned with the [versioning of the ibc crates](../README.md).

Expand Down
2 changes: 1 addition & 1 deletion guide/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- [Commands Reference](./documentation/commands/index.md)
- [Global options and JSON output](./documentation/commands/global.md)
- [Keys](./documentation/commands/keys/index.md)
- [Config](./documentation/commands/config.md)
- [Genearting and Validating Config Files](./documentation/commands/config.md)
- [Path setup](./documentation/commands/path-setup/index.md)
- [Clients](./documentation/commands/path-setup/clients.md)
- [Connections](./documentation/commands/path-setup/connections.md)
Expand Down
8 changes: 4 additions & 4 deletions guide/src/documentation/commands/config.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Config
# Generating and Validating Config Files

#### Show usage

Expand All @@ -14,7 +14,7 @@ The available sub-commands are the following:
{{#include ../../templates/help_templates/config.md}}
```

### Automatically generate configuration
### Automatically generate configuration files for specified chains
Use `config auto` to automatically generate a configuration file from the [chain-registry](https://github.com/cosmos/chain-registry).

> __WARNING__: Currently, gas parameters are set to default value and require to be set manually.
Expand All @@ -25,7 +25,7 @@ Use `config auto` to automatically generate a configuration file from the [chain

__Example__

Use `config auto` to generate a configuration file able to relay between `cosmoshub` and `osmosis`. This command assumes the existence of a key file for `cosmoshub-4` and `osmosis-1` in `$HOME/.hermes/keys`.
Use `config auto` to generate a configuration file that is able to relay between `cosmoshub` and `osmosis`. This command assumes the existence of a key file for `cosmoshub-4` and `osmosis-1` in `$HOME/.hermes/keys`.
```
{{#template ../../templates/commands/hermes/config/auto_1.md PATH=~/example_config.toml CHAIN_NAME:OPTIONAL_KEY_NAME=cosmoshub osmosis}}
Expand All @@ -49,7 +49,7 @@ SUCCESS "Config file written successfully : ~/example_config.toml."

__WARNING__ : Do not forget to modify the gas settings before relaying !

### Validate configuration
### Validate an existing configuration file

Use `config validate` to perform a quick syntactic validation of
your configuration file.
Expand Down
2 changes: 1 addition & 1 deletion guide/src/documentation/commands/global.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Hermes accepts _global_ options which affect all commands.

```shell
hermes {{#include ../../templates/version.md}}
hermes {{#include ../../templates/hermes-version.md}}
Informal Systems <hello@informal.systems>
Implementation of `hermes`, an IBC Relayer developed in Rust.

Expand Down
27 changes: 23 additions & 4 deletions guide/src/documentation/configuration/configure-hermes.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,24 @@ hermes [--config CONFIG_FILE] COMMAND

## Configuration

### Automatically Generating A Config File

The simplest way to configure Hermes for a given chain is by running the command

```shell
{{#template ../../templates/commands/hermes/config/auto_1.md PATH=~/<OUTPUT_PATH>/config.toml CHAIN_NAME:OPTIONAL_KEY_NAME=<CHAIN_1> <CHAIN_2>}}
```

This will generate a `config.toml` file for some specified chains. Note, however, that the configuration is generated by pulling the chain data from the Cosmos [chain registry][chain-registry]. The specified chain(s) must exist in the registry for the command to work. Check out [this][config-auto-reference] section of the Hermes commands reference to find more information on the `config auto` command.

### Tips for Manually Configuring Hermes

For relaying use-cases that require some more bespoke configuration, you'll have to manually edit the `config.toml` file. The following are some rules of thumb to follow when manually configuring Hermes.

The configuration file must have one `global` section, and one `chains` section for each chain.
<!-- markdown-link-check-disable -->
> **Note:** As of 0.6.0, the Hermes configuration file is self-documented.
> Please read the configuration file [`config.toml`](https://github.com/informalsystems/hermes/blob/{{#include ../../templates/version.md}}/config.toml)
> Please read the configuration file [`config.toml`](https://github.com/informalsystems/hermes/blob/{{#include ../../templates/hermes-version.md}}/config.toml)
> itself for the most up-to-date documentation of parameters.

Expand All @@ -37,10 +51,12 @@ For example, if there are only two chains configured, then Hermes will only rela
i.e. the two chains will serve as a source for each other, and likewise as a destination for each other's relevant events.
Hermes will ignore all events that pertain to chains which are unknown (i.e. not present in config.toml).

To restrict relaying on specific channels, or uni-directionally, you can use [packet filtering policies](https://github.com/informalsystems/hermes/blob/{{#include ../../templates/version.md}}/config.toml#L209-L231).
To restrict relaying on specific channels, or uni-directionally, you can use [packet filtering policies](https://github.com/informalsystems/hermes/blob/{{#include ../../templates/hermes-version.md}}/config.toml#L209-L231).

Check out the example [config.toml][hermes-config] file in the Hermes repo to see how the different parameters can be configured.
<!-- markdown-link-check-enabled -->

## Adding private keys
## Adding Private Keys

For each chain configured you need to add a private key for that chain in order to submit [transactions](../commands/tx/index.md),
please refer to the [Keys](../commands/keys/index.md) sections in order to learn how to add the private keys that are used by Hermes.
Expand All @@ -58,7 +74,7 @@ grpc_addr = 'https://domain.com:443'
websocket_addr = 'wss://domain.com:443/websocket'
```

## Support for Interchain Accounts
## Configuring Support for Interchain Accounts

As of version 0.13.0, Hermes supports relaying on [Interchain Accounts][ica] channels.

Expand Down Expand Up @@ -126,3 +142,6 @@ websocket_addr = 'wss://hello:world@mydomain.com:26657/websocket'
[http-basic-auth]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication
[ica]: https://github.com/cosmos/ibc/blob/master/spec/app/ics-027-interchain-accounts/README.md
[chain-registry]: https://github.com/cosmos/chain-registry
[config-auto-reference]: ../commands/config.md#automatically-generate-configuration-files-for-specified-chains
[hermes-config]: https://github.com/informalsystems/hermes/blob/master/config.toml
2 changes: 1 addition & 1 deletion guide/src/documentation/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ as the version of the REST server itself (under the `ibc-relayer-rest` key).
[
{
"name": "ibc-relayer",
"version": "{{#include ../templates/version.md}}"
"version": "{{#include ../templates/hermes-version.md}}"
},
{
"name": "ibc-relayer-rest",
Expand Down
4 changes: 2 additions & 2 deletions guide/src/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hermes Guide ({{#include templates/version.md}})
# Hermes Guide ({{#include templates/hermes-version.md}})

## Overview

Expand Down Expand Up @@ -27,7 +27,7 @@ Hermes is actively developed and maintained by [Informal Systems](https://inform

* **[Quick start](./quick-start/index.md)**

- This section can help you install Hermes.
- This section helps you install Hermes.

* **[Tutorials](./tutorials/index.md)**

Expand Down
16 changes: 8 additions & 8 deletions guide/src/quick-start/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ There are two main approaches for obtaining Hermes:

Simply head to the GitHub [Releases][releases] page and download the latest
version of Hermes binary matching your platform:
- macOS: `hermes-{{#include ../templates/version.md}}-x86_64-apple-darwin.tar.gz` (or .zip),
- Linux: `hermes-{{#include ../templates/version.md}}-x86_64-unknown-linux-gnu.tar.gz` (or .zip).
- macOS: `hermes-{{#include ../templates/hermes-version.md}}-x86_64-apple-darwin.tar.gz` (or .zip),
- Linux: `hermes-{{#include ../templates/hermes-version.md}}-x86_64-unknown-linux-gnu.tar.gz` (or .zip).

The step-by-step instruction below should carry you through the whole process:

Expand Down Expand Up @@ -49,7 +49,7 @@ You should now be able to run Hermes by invoking the `hermes` executable.
Which should be:

```
hermes {{#include ../templates/version.md}}
hermes {{#include ../templates/hermes-version.md}}
```

## Install via Cargo
Expand Down Expand Up @@ -85,7 +85,7 @@ You should now be able to run Hermes by invoking the `hermes` executable.
Which should be:

```
hermes {{#include ../templates/version.md}}
hermes {{#include ../templates/hermes-version.md}}
```

## Build from source
Expand All @@ -100,17 +100,17 @@ Open a terminal and clone the `ibc-rs` repository:

Change to the repository directory
```shell
cd ibc-rs
cd hermes
```

### Checkout the latest release

Go to the [ibc-rs releases](https://github.com/informalsystems/hermes/releases) page to see what is the most recent release.
Go to the [hermes releases](https://github.com/informalsystems/hermes/releases) page to see what is the most recent release.

Then checkout the release, for example if the most recent release is `{{#template ../templates/version.md}}` then execute the command:
Then checkout the release, for example if the most recent release is `{{#template ../templates/hermes-version.md}}` then execute the command:

```shell
git checkout {{#include ../templates/version.md}}
git checkout {{#include ../templates/hermes-version.md}}
```

### Building with `cargo build`
Expand Down
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/clear/packets_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] clear packets[[#OPTIONS]] --chain [[#CHAIN_ID]] --port [[#PORT_ID]] --channel [[#CHANNEL_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] clear packets[[#OPTIONS]] --chain [[#CHAIN_ID]] --port [[#PORT_ID]] --channel [[#CHANNEL_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/clear_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] clear [[#SUBCOMMAND]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] clear [[#SUBCOMMAND]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/completions_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] completions --shell [[#SHELL]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] completions --shell [[#SHELL]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/config/auto_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] config auto[[#OPTIONS]] --output [[#PATH]] --chains [[#CHAIN_NAME:OPTIONAL_KEY_NAME]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] config auto[[#OPTIONS]] --output [[#PATH]] --chains [[#CHAIN_NAME:OPTIONAL_KEY_NAME]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/config/validate_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] config validate
[[#BINARY hermes]][[#GLOBALOPTIONS]] config validate
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/config_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] config [[#SUBCOMMAND]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] config [[#SUBCOMMAND]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/create/channel_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] create channel[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --a-connection [[#A_CONNECTION_ID]] --a-port [[#A_PORT_ID]] --b-port [[#B_PORT_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] create channel[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --a-connection [[#A_CONNECTION_ID]] --a-port [[#A_PORT_ID]] --b-port [[#B_PORT_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/create/channel_2.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] create channel[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --b-chain [[#B_CHAIN_ID]] --a-port [[#A_PORT_ID]] --b-port [[#B_PORT_ID]] --new-client-connection
[[#BINARY hermes]][[#GLOBALOPTIONS]] create channel[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --b-chain [[#B_CHAIN_ID]] --a-port [[#A_PORT_ID]] --b-port [[#B_PORT_ID]] --new-client-connection
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/create/client_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] create client[[#OPTIONS]] --host-chain [[#HOST_CHAIN_ID]] --reference-chain [[#REFERENCE_CHAIN_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] create client[[#OPTIONS]] --host-chain [[#HOST_CHAIN_ID]] --reference-chain [[#REFERENCE_CHAIN_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/create/connection_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] create connection[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --b-chain [[#B_CHAIN_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] create connection[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --b-chain [[#B_CHAIN_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/create/connection_2.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] create connection[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --a-client [[#A_CLIENT_ID]] --b-client [[#B_CLIENT_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] create connection[[#OPTIONS]] --a-chain [[#A_CHAIN_ID]] --a-client [[#A_CLIENT_ID]] --b-client [[#B_CLIENT_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/create_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] create [[#SUBCOMMAND]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] create [[#SUBCOMMAND]]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee register-counterparty-payee --chain [[#CHAIN_ID]] --channel [[#CHANNEL_ID]] --port [[#PORT_ID]] --counterparty-payee [[#COUNTERPARTY_PAYEE_ADDRESS]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee register-counterparty-payee --chain [[#CHAIN_ID]] --channel [[#CHANNEL_ID]] --port [[#PORT_ID]] --counterparty-payee [[#COUNTERPARTY_PAYEE_ADDRESS]]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee register-payee --chain [[#CHAIN_ID]] --channel [[#CHANNEL_ID]] --port [[#PORT_ID]] --payee [[#PAYEE_ADDRESS]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee register-payee --chain [[#CHAIN_ID]] --channel [[#CHANNEL_ID]] --port [[#PORT_ID]] --payee [[#PAYEE_ADDRESS]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/fee/transfer_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee transfer[[#OPTIONS]] --dst-chain [[#DST_CHAIN_ID]] --src-chain [[#SRC_CHAIN_ID]] --src-port [[#SRC_PORT_ID]] --src-channel [[#SRC_CHANNEL_ID]] --amount [[#AMOUNT]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee transfer[[#OPTIONS]] --dst-chain [[#DST_CHAIN_ID]] --src-chain [[#SRC_CHAIN_ID]] --src-port [[#SRC_PORT_ID]] --src-channel [[#SRC_CHANNEL_ID]] --amount [[#AMOUNT]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/fee_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee [[#SUBCOMMAND]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] fee [[#SUBCOMMAND]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/health-check_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] health-check
[[#BINARY hermes]][[#GLOBALOPTIONS]] health-check
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/help_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]][[#OPTIONS]][[#SUBCOMMAND]]
[[#BINARY hermes]][[#GLOBALOPTIONS]][[#OPTIONS]][[#SUBCOMMAND]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys/add_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys add[[#OPTIONS]] --chain [[#CHAIN_ID]] --key-file [[#KEY_FILE]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys add[[#OPTIONS]] --chain [[#CHAIN_ID]] --key-file [[#KEY_FILE]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys/add_2.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys add[[#OPTIONS]] --chain [[#CHAIN_ID]] --mnemonic-file [[#MNEMONIC_FILE]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys add[[#OPTIONS]] --chain [[#CHAIN_ID]] --mnemonic-file [[#MNEMONIC_FILE]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys/balance_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys balance[[#OPTIONS]] --chain [[#CHAIN_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys balance[[#OPTIONS]] --chain [[#CHAIN_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys/delete_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys delete --chain [[#CHAIN_ID]] --key-name [[#KEY_NAME]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys delete --chain [[#CHAIN_ID]] --key-name [[#KEY_NAME]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys/delete_2.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys delete --chain [[#CHAIN_ID]] --all
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys delete --chain [[#CHAIN_ID]] --all
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys/list_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys list --chain [[#CHAIN_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys list --chain [[#CHAIN_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/keys_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys [[#SUBCOMMAND]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] keys [[#SUBCOMMAND]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/listen_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] listen[[#OPTIONS]] --chain [[#CHAIN_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] listen[[#OPTIONS]] --chain [[#CHAIN_ID]]
2 changes: 1 addition & 1 deletion guide/src/templates/commands/hermes/misbehaviour_1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[#BINARY hermes]][[#GLOBALOPTIONS]] misbehaviour --chain [[#CHAIN_ID]] --client [[#CLIENT_ID]]
[[#BINARY hermes]][[#GLOBALOPTIONS]] misbehaviour --chain [[#CHAIN_ID]] --client [[#CLIENT_ID]]
Loading

0 comments on commit f8e4b01

Please sign in to comment.