-
Notifications
You must be signed in to change notification settings - Fork 3.9k
op-service: add RequestsHash to RPCHeader
#14022
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
Conversation
not "requestsHash" as in geth
RPCHeaderRequestsHash to RPCHeader
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #14022 +/- ##
===========================================
- Coverage 46.90% 42.63% -4.28%
===========================================
Files 974 809 -165
Lines 81670 72359 -9311
Branches 759 0 -759
===========================================
- Hits 38307 30847 -7460
+ Misses 40377 38794 -1583
+ Partials 2986 2718 -268
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This was fixed upstream ethereum/go-ethereum#30926
protolambda
left a comment
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.
Need the omitempty tag to not end up with a null json attribute when encoding.
Co-authored-by: protolambda <[email protected]>
* add RequestsHash to op-service RPCHeader type * sources.RPCHeader.RequestsHash needs "requestsHash" json struct tag not "requestsHash" as in geth * remove comment This was fixed upstream ethereum/go-ethereum#30926 * add comment * Update op-service/sources/types.go Co-authored-by: protolambda <[email protected]> --------- Co-authored-by: protolambda <[email protected]>
* add RequestsHash to op-service RPCHeader type * sources.RPCHeader.RequestsHash needs "requestsHash" json struct tag not "requestsHash" as in geth * remove comment This was fixed upstream ethereum/go-ethereum#30926 * add comment * Update op-service/sources/types.go Co-authored-by: protolambda <[email protected]> --------- Co-authored-by: protolambda <[email protected]>
Closes #13981