diff --git a/README.md b/README.md index 2f267b396..7df037800 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Additional information on how IBC works can be found [here](https://ibc.cosmos.n ```shell $ git clone https://github.com/cosmos/relayer.git - $ cd relayer && git checkout v2.0.0-rc3 + $ cd relayer && git checkout v2.3.0 $ make install ``` @@ -58,7 +58,7 @@ Additional information on how IBC works can be found [here](https://ibc.cosmos.n ``` **Default config file location:** `~/.relayer/config/config.yaml` - By default, transactions will be relayed with a memo of `rly(VERSION)` e.g. `rly(v2.0.0)`. + By default, transactions will be relayed with a memo of `rly(VERSION)` e.g. `rly(v2.3.0)`. To customize the memo for all relaying, use the `--memo` flag when initializing the configuration. @@ -66,7 +66,7 @@ Additional information on how IBC works can be found [here](https://ibc.cosmos.n $ rly config init --memo "My custom memo" ``` - Custom memos will have `rly(VERSION)` appended. For example, a memo of `My custom memo` running on relayer version `v2.0.0` would result in a transaction memo of `My custom memo | rly(v2.0.0)`. + Custom memos will have `rly(VERSION)` appended. For example, a memo of `My custom memo` running on relayer version `v2.3.0` would result in a transaction memo of `My custom memo | rly(v2.3.0)`. The `--memo` flag is also available for other `rly` commands also that involve sending transactions such as `rly tx link` and `rly start`. It can be passed there to override the `config.yaml` value if desired. diff --git a/cmd/config.go b/cmd/config.go index 07513056b..1487d27b3 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -282,8 +282,8 @@ func (c *Config) Wrapped() *ConfigOutputWrapper { } // rlyMemo returns a formatted message memo string -// that includes "rly" and the version, e.g. "rly(v2.0.0)" -// or "My custom memo | rly(v2.0.0)" +// that includes "rly" and the version, e.g. "rly(v2.3.0)" +// or "My custom memo | rly(v2.3.0)" func rlyMemo(memo string) string { if memo == "-" { // omit memo entirely