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

bump version in docs #1158

Merged
merged 3 commits into from
Apr 4, 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
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