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

Add a --denom option to the tx raw upgrade-chain command to make the deposit denomination configurable #1790

Merged
merged 6 commits into from
Jan 19, 2022

Conversation

mzabaluev
Copy link
Contributor

@mzabaluev mzabaluev commented Jan 19, 2022

Closes: #1662

Description

Add an --denom option to the tx raw upgrade-chain command to make the deposit denomination configurable.
The default is "stake" as was previously hardcoded.


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

Apply changes automatically made by cargo 1.58.0.
Make the denomination string configurable in the chain upgrade proposal
issued by the `tx raw upgrade-chain` command.
@mzabaluev mzabaluev added I: CLI Internal: related to the relayer's CLI I: logic Internal: related to the relaying logic O: usability Objective: cause to improve the user experience (UX) and ease using the product needs guide update labels Jan 19, 2022
@mzabaluev mzabaluev marked this pull request as ready for review January 19, 2022 11:29
@romac romac changed the title --denom option to configure proposal deposit denomination in hermes command tx raw upgrade-chain Add --denom option to tx raw upgrade-chain to configure proposal deposit denomination Jan 19, 2022
@romac romac changed the title Add --denom option to tx raw upgrade-chain to configure proposal deposit denomination Add a --denom option to the tx raw upgrade-chain command to make the deposit denomination configurable Jan 19, 2022
relayer-cli/src/commands/tx/upgrade.rs Outdated Show resolved Hide resolved
@romac romac merged commit 2a4bc36 into master Jan 19, 2022
@romac romac deleted the mikhail/upgrade-proposal-denom branch January 19, 2022 14:00
hu55a1n1 pushed a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
…the deposit denomination configurable (informalsystems#1790)

* Normalize Cargo.lock

Apply changes automatically made by cargo 1.58.0.

* --denom option for hermes tx raw upgrade-chain

Make the denomination string configurable in the chain upgrade proposal
issued by the `tx raw upgrade-chain` command.

* Changelog entries for informalsystems#1790

* Improve the changelog entry for informalsystems#1662 (the relayer-cli part)

Co-authored-by: Romain Ruetschi <[email protected]>

* Fix typo in the doc for --denom option

Co-authored-by: Romain Ruetschi <[email protected]>

* Use Option::as_deref

Co-authored-by: Romain Ruetschi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: CLI Internal: related to the relayer's CLI I: logic Internal: related to the relaying logic O: usability Objective: cause to improve the user experience (UX) and ease using the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make proposal deposit denomination configurable
2 participants