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

Refactor ReceiveBlock to receive the block root. #5785

Merged
merged 8 commits into from
May 9, 2020

Conversation

prestonvanloon
Copy link
Member

@prestonvanloon prestonvanloon commented May 8, 2020

What type of PR is this?

Other

What does this PR do? Why is it needed?

The critical path for ProposeBlock required calling HashTreeRoot three four times for a beacon block.
Additionally, receiving a block from pubsub would call HashTreeRoot twice, at least.

Which issues(s) does this PR fix?

N/A - super small

Other notes for review

@prestonvanloon prestonvanloon added the Ready For Review A pull request ready for code review label May 8, 2020
@prestonvanloon prestonvanloon requested a review from a team as a code owner May 8, 2020 23:17
@prylabs-bulldozer prylabs-bulldozer bot merged commit 87e0fe5 into master May 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the receive-with-root branch May 9, 2020 01:23
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