-
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
Monitor blocks #9910
Monitor blocks #9910
Conversation
df90824
to
dc9a107
Compare
} | ||
state := s.config.StateGen.StateByRootIfCachedNoCopy(root) | ||
if state == nil { | ||
log.Debug("Skipping block due to state not found in cache") |
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 think log should be more descriptive. Seeing Skipping block due to state not found in cache
over the console without knowing what feature this is could be useless
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.
the message would come prefixed by the monitor
service. Do you want me to add a longer message?
afef545
to
162b183
Compare
This is the 5th PR for the validator monitor, in this PR we include logging and metrics for block proposals as well as triggering the logs for slashings/exits/etc that were already merged in previous PRs.