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

Added gm fix conforming to keys add breaking changes #2263

Merged
merged 4 commits into from
Jun 3, 2022
Merged

Conversation

adizere
Copy link
Member

@adizere adizere commented Jun 2, 2022

Closes: #2262

Description


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).

@adizere adizere mentioned this pull request Jun 2, 2022
6 tasks
@adizere adizere marked this pull request as ready for review June 2, 2022 17:13
Comment on lines -998 to +999
gas_price = { price = 0.001, denom = '${DENOM}' }
max_gas = 1000000
gas_price = { price = 0.01, denom = '${DENOM}' }
max_gas = 10000000
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to reviewers: this change is unrelated to bug #2262.

It's just a parameter change so Hermes can submit bigger transactions by default (allows bigger gas usage).

@ljoss17
Copy link
Contributor

ljoss17 commented Jun 3, 2022

There is also the script scripts/init-hermes which uses the old key-name flag for hermes keys add which uses the old flag -n instead of the new -k. Should the change be made in this PR as well ?

@adizere
Copy link
Member Author

adizere commented Jun 3, 2022

Should the change be made in this PR as well ?

Please feel free to do it, thank you!

@adizere adizere changed the title Added fix cf. to breaking changes in #2251 Added gm fix conforming to keys add breaking changes Jun 3, 2022
@@ -64,13 +64,13 @@ cargo build -q --locked
# add the key seeds to the keyring of each chain
echo "Importing keys..."
cargo run -q --bin hermes -- -c "$CONFIG_FILE" keys add "$CHAIN_0_ID" -f "$GAIA_DATA/$CHAIN_0_ID/user_seed.json"
cargo run -q --bin hermes -- -c "$CONFIG_FILE" keys add "$CHAIN_0_ID" -f "$GAIA_DATA/$CHAIN_0_ID/user2_seed.json" -n user2
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thank you for fixing Luca!

@adizere adizere merged commit 6ff966d into master Jun 3, 2022
@adizere adizere deleted the libgm_keys_add branch June 3, 2022 12:14
hu55a1n1 pushed a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
…tems#2263)

* Added fix cf. to breaking changes in informalsystems#2251

* Bumped version

* Adjusted to higher default gas params to make testing easier

* Updated init-hermes script to use new keyname flag for 'keys add' command

Co-authored-by: Luca Joss <luca@informal.systems>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GM uses old style keys add command
3 participants