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

Late Block reorg refactor #7911

Merged
merged 9 commits into from
Jan 24, 2024

Conversation

rolfyone
Copy link
Contributor

Removed state from isHeadWeak and isParentStrong - these values now get cached on updateHeadTransaction

Renamed newSlot to proposalSlot

Added a function to cache weights, as they're expensive to compute and we shouldn't need to compute each call.

debug logging added in recentChainData at decission points.

partially addresses #6595 - this is a subset of #7789

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Removed state from isHeadWeak and isParentStrong - these values now get cached on updateHeadTransaction

Renamed newSlot to proposalSlot

Added a function to cache weights, as they're expensive to compute and we shouldn't need to compute each call.

debug logging added in recentChainData at decission points.

partially addresses Consensys#6595 - this is a subset of Consensys#7789

Signed-off-by: Paul Harris <[email protected]>
Copy link
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

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

lambda suggestion and a question

@rolfyone rolfyone enabled auto-merge (squash) January 24, 2024 23:30
@rolfyone rolfyone merged commit 2271309 into Consensys:master Jan 24, 2024
14 of 15 checks passed
@rolfyone rolfyone deleted the renames-from-late-block-reorg branch January 25, 2024 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants