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

imp: CheckSubstituteAndUpdateState for 08-wasm client #4974

Conversation

charleenfei
Copy link
Contributor

@charleenfei charleenfei commented Oct 27, 2023

Description

closes: #4862

NOTE the grandpa test will fail on this PR until contract changes are merged for the new msg type.


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.

@@ -78,203 +78,6 @@ func (suite *TypesTestSuite) TestCheckSubstituteAndUpdateStateGrandpa() {
}
}

// func (suite *TypesTestSuite) TestCheckSubstituteAndUpdateStateBasicTendermint() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this test is covered in this pr

payload := SudoMsg{
CheckSubstituteAndUpdateState: &CheckSubstituteAndUpdateStateMsg{},
MigrateClientStore: &MigrateClientStoreMsg{},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

see this pr for the contract changes pertaining to this new msg type

@charleenfei charleenfei force-pushed the charly/issue#4862-changes-to-checksubstituteandupdatestate-function-of-clientstate branch from 2ec1e00 to 5b984cf Compare October 27, 2023 13:30
@charleenfei charleenfei marked this pull request as ready for review October 27, 2023 15:19
…cksubstituteandupdatestate-function-of-clientstate
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.

Nice, clean work! 🙏

modules/light-clients/08-wasm/types/proposal_handle.go Outdated Show resolved Hide resolved
@damiannolan
Copy link
Member

Looks like the mock vm needs to be updated with the type changes in order to build

@charleenfei charleenfei marked this pull request as draft October 30, 2023 12:03
@charleenfei charleenfei marked this pull request as ready for review October 30, 2023 12:03
@charleenfei charleenfei merged commit 56fb2af into feat/wasm-clients Oct 30, 2023
94 of 97 checks passed
@charleenfei charleenfei deleted the charly/issue#4862-changes-to-checksubstituteandupdatestate-function-of-clientstate branch October 30, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants