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 migration for checksums to collections.KeySet #5324

Merged
merged 6 commits into from
Dec 6, 2023

Conversation

DimitrisJim
Copy link
Contributor

@DimitrisJim DimitrisJim commented Dec 6, 2023

Description

closes: #XXXX

Commit Message / Changelog Entry

feat: add migration for checksums to collections.KeySet

see the guidelines for commit messages. (view raw markdown for examples)


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 and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/).
  • Added relevant godoc comments.
  • Provide a commit message to be used for the changelog entry in the PR description for review.
  • Re-reviewed Files changed in the Github PR explorer.
  • Review Codecov Report in the comment section below once CI passes.

@damiannolan damiannolan added the priority PRs that need prompt reviews label Dec 6, 2023
Copy link
Member

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

Excellent work! I left only minor nits, all looks good to me from what I can tell and nice tests too!

LGTM and make an e2e for this as well!

modules/light-clients/08-wasm/keeper/migrations.go Outdated Show resolved Hide resolved
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.

Simple and clean. Great work 🙌

modules/light-clients/08-wasm/types/keys.go Outdated Show resolved Hide resolved
proto/ibc/lightclients/wasm/v1/wasm.proto Outdated Show resolved Hide resolved
@DimitrisJim DimitrisJim enabled auto-merge (squash) December 6, 2023 15:56
@DimitrisJim DimitrisJim merged commit 2a39b26 into main Dec 6, 2023
58 of 60 checks passed
@DimitrisJim DimitrisJim deleted the jim/migrate-wasm-store branch December 6, 2023 15:57
mergify bot pushed a commit that referenced this pull request Dec 6, 2023
* wip, we're migrating

* add first draft of tests.

* Add Logger, log in migrations, use more specific name, handle store errors.

* Update modules/light-clients/08-wasm/keeper/migrations.go

Co-authored-by: Damian Nolan <damiannolan@gmail.com>

* Mark key, Checksums msg as deprecated.

---------

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
(cherry picked from commit 2a39b26)
DimitrisJim added a commit that referenced this pull request Dec 6, 2023
* wip, we're migrating

* add first draft of tests.

* Add Logger, log in migrations, use more specific name, handle store errors.

* Update modules/light-clients/08-wasm/keeper/migrations.go

Co-authored-by: Damian Nolan <damiannolan@gmail.com>

* Mark key, Checksums msg as deprecated.

---------

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
(cherry picked from commit 2a39b26)

Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority PRs that need prompt reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants