-
Notifications
You must be signed in to change notification settings - Fork 11
avoid bad block #146
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
avoid bad block #146
Conversation
e0e8891 to
8271e4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding hasBadProposal as private method while newRoundState(...)? So that it's no need to pass hasBadProposal function every time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can reimplement IsHashLocked . We should check bad block every time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
2fd227e to
20f626b
Compare
20f626b to
cd0c67d
Compare
## Why this should be merged A separately cherry-picked commit, the fix for `StateDB.Copy()`, requires Go 1.23 for use of the `maps` package. This, however, breaks `memsize`, which was later removed later from `geth` for the same reason. ## How this works All release branches will now cherry-pick ethereum#30253. ## How this was tested Updated list of cherry-picks applied to #142, which [passed tests](https://github.com/ava-labs/libevm/actions/runs/13371460014/job/37340683594).
No description provided.