Config

Use the config validate command to perform a quick syntactic validation of your configuration file.

USAGE:
    hermes config validate <OPTIONS>

DESCRIPTION:
    validate the relayer configuration

Example

Validate the default config file, the path inferred automatically to be $HOME/.hermes/config.toml.

hermes config validate
hermes config validate
Jul 12 16:31:07.017  INFO using default configuration from '$HOME/.hermes/config.toml'
Success: "validation passed successfully"

Validate a config file at an arbitrary location:

hermes -c ./config.toml config validate

This one fails validation because we mistakenly added two separate sections for the same chain ibc-1:

hermes -c ./config.toml  config validate
error: hermes fatal error: config error: config file has duplicate entry for the chain with id ibc-1