Skip to content
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

Do Not Compute Block Root Again #13657

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Do Not Compute Block Root Again #13657

merged 1 commit into from
Feb 23, 2024

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Feb 23, 2024

What type of PR is this?

Optimization

What does this PR do? Why is it needed?

This PR reduces the amount of times we recompute the root of the block. In the VerifyBlockSignatureUsingCurrentFork we were needlessly recomputing it again. This is expensive and delays gossip validation across the network.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas added the Ready For Review A pull request ready for code review label Feb 23, 2024
@nisdas nisdas requested a review from a team as a code owner February 23, 2024 07:35
@nisdas nisdas changed the title add changes Do Not Compute Block Root Again Feb 23, 2024
@nisdas nisdas added this pull request to the merge queue Feb 23, 2024
Merged via the queue into develop with commit 789c3f8 Feb 23, 2024
17 checks passed
@nisdas nisdas deleted the reduceHTR branch February 23, 2024 11:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants