-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add timeSinceSlotStart
field to "Synced new block..." log
#8420
Conversation
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.
Super nice addition
Codecov Report
@@ Coverage Diff @@
## develop #8420 +/- ##
==========================================
Coverage ? 57.99%
==========================================
Files ? 454
Lines ? 32263
Branches ? 0
==========================================
Hits ? 18710
Misses ? 10691
Partials ? 2862 |
Oh I am late hadn't seen this, I am sorry for being a pain in the ass but I think this is a bad addition. It is information that is currently included in the very same log message, so it adds size to the journal to get no new information. It only saves the viewer the time to do a subtraction and most users will not care about this info. The ones that do can do that subtraction. It would be much more useful if we included a |
Its just one additional field per slot (few bytes), is the local storage really that expensive? Keep in mind that we'll remove 4 fields here: Still a net gain after all. I personally prefer this than doing math in my head with the timestamp |
What type of PR is this?
What does this PR do? Why is it needed?
Add
Which issues(s) does this PR fix?
Add
timeSinceSlotStart
field to "Synced new block..." log, this enhances debugging capability for both propagation issue and attesting issue.Other notes for review