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

Update CLI to recover expired client for SDK 46 updates to gov module #2301

Merged
merged 7 commits into from
Sep 21, 2022

Conversation

tmsdkeys
Copy link
Contributor

Description

Update docs on gov proposals (to recover frozen light clients) to include SDK v0.46 changes to x/gov API: https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#xgov-1

closes: #2173


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@tmsdkeys tmsdkeys added this to the v5.0.0 milestone Sep 16, 2022
@tmsdkeys tmsdkeys added the docs Improvements or additions to documentation label Sep 16, 2022
docs/ibc/proposals.md Outdated Show resolved Hide resolved
Comment on lines +92 to +104
{
"messages": [
{
"@type": "/ibc.core.client.v1.ClientUpdateProposal",
"title": "title_string",
"description": "description_string",
"subject_client_id": "expired_client_id_string",
"substitute_client_id": "active_client_id_string"
}
],
"metadata": "<metadata>",
"deposit": "10stake"
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if this is correct, if anyone can review..

Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for updating this 🙏 I haven't manually tested the json, but it looks correct to me

Copy link
Contributor

@crodriguezvega crodriguezvega left a comment

Choose a reason for hiding this comment

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

Thank you, @tmsdkeys! I just left some nits.

docs/ibc/proposals.md Outdated Show resolved Hide resolved
docs/ibc/proposals.md Outdated Show resolved Hide resolved
@crodriguezvega crodriguezvega merged commit daac435 into main Sep 21, 2022
@crodriguezvega crodriguezvega deleted the thomas/2173-update-client-recovery-docs-sdk46 branch September 21, 2022 13:41
mergify bot pushed a commit that referenced this pull request Sep 21, 2022
…#2301)

* Update CLI commands to recover expired client for SDK 46 updates to gov module

* Fix alignment

* Add proposal json, fix alginment

* Apply suggestions from code review

Co-authored-by: Carlos Rodriguez <[email protected]>

Co-authored-by: Carlos Rodriguez <[email protected]>
(cherry picked from commit daac435)

# Conflicts:
#	docs/ibc/proposals.md
mergify bot pushed a commit that referenced this pull request Sep 21, 2022
…#2301)

* Update CLI commands to recover expired client for SDK 46 updates to gov module

* Fix alignment

* Add proposal json, fix alginment

* Apply suggestions from code review

Co-authored-by: Carlos Rodriguez <[email protected]>

Co-authored-by: Carlos Rodriguez <[email protected]>
(cherry picked from commit daac435)

# Conflicts:
#	docs/ibc/proposals.md
colin-axner added a commit that referenced this pull request Sep 26, 2022
… (backport #2301) (#2359)

* Update CLI to recover expired client for SDK 46 updates to gov module (#2301)

* Update CLI commands to recover expired client for SDK 46 updates to gov module

* Fix alignment

* Add proposal json, fix alginment

* Apply suggestions from code review

Co-authored-by: Carlos Rodriguez <[email protected]>

Co-authored-by: Carlos Rodriguez <[email protected]>
(cherry picked from commit daac435)

# Conflicts:
#	docs/ibc/proposals.md

* fix conflicts

* remove documentation

Co-authored-by: tmsdkeys <[email protected]>
Co-authored-by: Colin Axnér <[email protected]>
colin-axner added a commit that referenced this pull request Sep 26, 2022
… (backport #2301) (#2360)

* Update CLI to recover expired client for SDK 46 updates to gov module (#2301)

* Update CLI commands to recover expired client for SDK 46 updates to gov module

* Fix alignment

* Add proposal json, fix alginment

* Apply suggestions from code review

Co-authored-by: Carlos Rodriguez <[email protected]>

Co-authored-by: Carlos Rodriguez <[email protected]>
(cherry picked from commit daac435)

# Conflicts:
#	docs/ibc/proposals.md

* fix conflicts

* remove documentation

Co-authored-by: tmsdkeys <[email protected]>
Co-authored-by: Carlos Rodriguez <[email protected]>
Co-authored-by: Damian Nolan <[email protected]>
Co-authored-by: Colin Axnér <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update gov prop docs for SDK 0.46 gov module API change
3 participants