-
Notifications
You must be signed in to change notification settings - Fork 985
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
Various bug fixes in Eth API #9649
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #9649 +/- ##
===========================================
- Coverage 61.93% 61.92% -0.02%
===========================================
Files 564 564
Lines 44646 44645 -1
===========================================
- Hits 27653 27647 -6
+ Misses 12513 12512 -1
- Partials 4480 4486 +6 |
Data: &beaconBlockContainerJson{ | ||
Message: respContainer.Data.Phase0Block, | ||
}, | ||
Data: respContainer.Data.Phase0Block, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a regression test? Im surprised there's 0 test change to reflect on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I improved block serialization tests.
Version string `json:"version"` | ||
Data *beaconBlockAltairContainerJson `json:"data"` | ||
Version string `json:"version"` | ||
Data *beaconBlockAltairJson `json:"data"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
presumably this is addressing Fixes wrong block structure for /eth/v2/validator/blocks
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is correct. We don't need an additional wrapper, we should use beaconBlockAltairJson
directly.
What type of PR is this?
Bug fix
What does this PR do? Why is it needed?
/eth/v2/validator/blocks
NotFound
when block returned from core libraries is nil/internal
grpc-gateway paths work with events and SSZ endpointsWhich issues(s) does this PR fix?
Fixes #9647
Fixes #9636
Fixes #9652