Skip to content

Conversation

paulhauner
Copy link
Member

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

@paulhauner paulhauner added ready-for-review The code is ready for review low-hanging-fruit Easy to resolve, get it before someone else does! labels Aug 26, 2022
@paulhauner paulhauner changed the base branch from stable to unstable August 26, 2022 23:04
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't fault it, this looks like a great improvement

@michaelsproul michaelsproul added v3.1.0 ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Aug 29, 2022
@paulhauner
Copy link
Member Author

Penta-batch!

bors r+

@paulhauner
Copy link
Member Author

There are conflicts in this batch, but I'll let bors figure it out.

bors r+

@bors
Copy link

bors bot commented Aug 29, 2022

Already running a review

bors bot pushed a commit that referenced this pull request Aug 29, 2022
## 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
@bors
Copy link

bors bot commented Aug 29, 2022

Build failed (retrying...):

@paulhauner
Copy link
Member Author

bors r+

@bors
Copy link

bors bot commented Aug 29, 2022

Already running a review

bors bot pushed a commit that referenced this pull request Aug 29, 2022
## 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
@bors bors bot changed the title Add more logging for invalid payloads [Merged by Bors] - Add more logging for invalid payloads Aug 29, 2022
@bors bors bot closed this Aug 29, 2022
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-hanging-fruit Easy to resolve, get it before someone else does! ready-for-merge This PR is ready to merge. v3.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants