-
Notifications
You must be signed in to change notification settings - Fork 134
core: log error when bcast proposal #4240
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
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4240 +/- ##
==========================================
- Coverage 57.03% 56.96% -0.07%
==========================================
Files 237 237
Lines 30857 30864 +7
==========================================
- Hits 17599 17582 -17
- Misses 11021 11043 +22
- Partials 2237 2239 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| z.Bool("blinded", block.Blinded), | ||
| ) | ||
| } else { | ||
| log.Error(ctx, "Failed to submit block proposal to beacon node", |
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.
We will log a failed BN call if there is an error, as we will return error from this endpoint
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 but we won't log details such as "blinded"
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.
Hmmm okay. This will become obsolete in Gloas fork, but we can make some use of it until then.
| z.Bool("blinded", block.Blinded), | ||
| ) | ||
| } else { | ||
| log.Error(ctx, "Failed to submit block proposal to beacon node", |
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.
Hmmm okay. This will become obsolete in Gloas fork, but we can make some use of it until then.



Added logging error if bcast failed to submit proposal.
category: refactor
ticket: none