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

refactor: panic on ZeroCustomFields for solo machine implementation #1972

Merged
merged 3 commits into from
Aug 11, 2022

Conversation

seantking
Copy link
Contributor

Description

closes: #1885


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

return NewClientState(
cs.Sequence, cs.ConsensusState,
)
panic("ZeroCustomFields is not implemented as the solo machine implementation does not support upgrades.")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Welcome to suggestions for the message here :)

@seantking
Copy link
Contributor Author

Do we want a changelog/update migration docs for this? cc: @colin-axner

@colin-axner
Copy link
Contributor

Do we want a changelog/update migration docs for this? cc: @colin-axner

changelog would be good, migration docs are unnecessary in my opinion. Would just be noise

@seantking seantking enabled auto-merge (squash) August 11, 2022 09:35
@seantking seantking merged commit 6c3420e into main Aug 11, 2022
@seantking seantking deleted the sean/issue#1885-update-zero-custom-fields branch August 11, 2022 10:05
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.

Solomachine ZeroCustomFields should not modify IsFrozen
4 participants