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

V046 responses fix #304

Merged
merged 4 commits into from
Feb 20, 2023
Merged

V046 responses fix #304

merged 4 commits into from
Feb 20, 2023

Conversation

joe-bowman
Copy link
Contributor

1. Summary

Fixes v0.46 MsgResponses unmarshalling.

2.Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

3. Implementation details

Use any.GetValue() + proto.Unmarshal() instead of trying to unpack type without appropriate interface.

4. How to test/use

Added v45 and v46 response unmarshalling tests.

ajansari95
ajansari95 previously approved these changes Feb 19, 2023
Copy link
Contributor

@ajansari95 ajansari95 left a comment

Choose a reason for hiding this comment

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

LGTM

@joe-bowman
Copy link
Contributor Author

Tests are passing, but failing vulnchecker on go1.19 vulns; we can ignore these for this release. Bump to v1.20 needs sufficient testing to ensure determinism

@ajansari95
Copy link
Contributor

Tests are passing, but failing vulnchecker on go1.19 vulns; we can ignore these for this release. Bump to v1.20 needs sufficient testing to ensure determinism

agreed

Copy link
Contributor

@ajansari95 ajansari95 left a comment

Choose a reason for hiding this comment

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

LGTM

@prakritimalik prakritimalik requested review from prakritimalik and removed request for prakritimalik February 20, 2023 07:20
Copy link

@prakritimalik prakritimalik left a comment

Choose a reason for hiding this comment

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

lgtm

@joe-bowman joe-bowman merged commit 41f1486 into main Feb 20, 2023
@joe-bowman joe-bowman deleted the v046-responses-fix branch February 20, 2023 07:37
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.

3 participants