-
Notifications
You must be signed in to change notification settings - Fork 410
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
fix: stargate querier does not reset the structure state #1208
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1208 +/- ##
=======================================
Coverage 57.49% 57.50%
=======================================
Files 54 54
Lines 7435 7436 +1
=======================================
+ Hits 4275 4276 +1
Misses 2861 2861
Partials 299 299
|
Thanks for the PR and this important fix! I hope that we can resume OS work very soon. Please see #1198 for context |
Would you mind to convert your description into a unit test for regression so that we also have confidence in the future? |
@alpe Added. |
Kudos, SonarCloud Quality Gate passed! |
Thanks! |
Great work! Thanks a lot for adding the test, too. Important work!🥇 |
fix: stargate querier does not reset the structure state (backport #1208)
Currently, the stargate querier marshal the result to the given structure stored in accepted list, but it does not reset the state. So the result will be unexpected. For example, the current stargate querier process is like:
As a result, we should reset the protoResponse after marshaling.