mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Add more logging for invalid payloads (#3515)
## Issue Addressed NA ## Proposed Changes Adds more `debug` logging to help troubleshoot invalid execution payload blocks. I was doing some of this recently and found it to be challenging. With this PR we should be able to grep `Invalid execution payload` and get one-liners that will show the block, slot and details about the proposer. I also changed the log in `process_invalid_execution_payload` since it was a little misleading; the `block_root` wasn't necessary the block which had an invalid payload. ## Additional Info NA
This commit is contained in:
@@ -16,7 +16,7 @@ four_byte_option_impl!(four_byte_option_usize, usize);
|
||||
four_byte_option_impl!(four_byte_option_checkpoint, Checkpoint);
|
||||
|
||||
/// Defines an operation which may invalidate the `execution_status` of some nodes.
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum InvalidationOperation {
|
||||
/// Invalidate only `block_root` and it's descendants. Don't invalidate any ancestors.
|
||||
InvalidateOne { block_root: Hash256 },
|
||||
|
||||
Reference in New Issue
Block a user