-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
HttpClient: log request and response #3913
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
Codecov Report
@@ Coverage Diff @@
## master #3913 +/- ##
==========================================
- Coverage 36.32% 36.31% -0.01%
==========================================
Files 324 324
Lines 9059 9064 +5
Branches 1453 1456 +3
==========================================
+ Hits 3291 3292 +1
- Misses 5597 5598 +1
- Partials 171 174 +3 |
Warning! This is a breaking change to the API of lodestar-api. If we are gonna do the breaking change let's review the interface and ensure it doesn't change in the short - medium term again |
This follows our convention @dapplion do you know any apps use our |
the light client demo, but i guess its easily updated 👍 |
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.
LGTM
I think the breaking change is fine, aligns with the 'style' of our other code and makes it easier to add more modules to the client if we need.
👍 sounds good to me. Can we wait for #3914 ? the http client will have access the routeId and makes for nicer logging that dumping the full url. |
a70bd4a
to
cd5df47
Compare
Motivation
Similar to the node side, we want to debug when we request and get response from validator side
Description
part of #3911