Skip to content

Commit

Permalink
bump version in docs (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin authored Apr 4, 2023
1 parent deab34e commit 2cf2952
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -58,15 +58,15 @@ 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.
```shell
$ 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.
Expand Down
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cf2952

Please sign in to comment.