Incorrectly marking bad blocks halts chain #5460
Labels
bug
Something isn't working
enhancement
New feature or request
mainnet
P3
Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion)
Problem: If Besu puts an INVALID block in the bad block cache and that block is subsequently valid, then we can only recover with a manual restart.
Some reasons that Besu might 'incorrectly' mark blocks as INVALID:
There are other scenarios where besu marks blocks as INVALID such as when backwards syncing that probably should continue to do that so we don't end up with besu on a fork.
Potential Solutions:
(2) is what geth do: https://github.com/ethereum/go-ethereum/blob/73697529994e14996b7740730481e926d5ec3e40/eth/catalyst/api.go#L105-L109
Geth's response about how they handle it https://discord.com/channels/595666850260713488/892088344438255616/1078206539548078122:
Related to:
Original discussion here: https://discord.com/channels/905194001349627914/905205502940696607/1077867357487243315
The text was updated successfully, but these errors were encountered: