Problem description
in PrepareNextSlot, right now we dial the current head through epoch boundary
that could be a waste epoch transition because majority of the clients will do epoch boundary reorg from now on
in that case, we'll have to do epoch transition to verify the 1st gossip block of next epoch
I notice that we do more and more epoch transitions with caller = "validateGossipBlock" recently
Solution description
predict an epoch boundary reorg ahead
use strong parent for epoch transition instead of the current weak head
add more logs + metrics
note that lodestar will also do epoch boundary reorg from now on #9769
Additional context
No response
Problem description
in PrepareNextSlot, right now we dial the current head through epoch boundary
that could be a waste epoch transition because majority of the clients will do epoch boundary reorg from now on
in that case, we'll have to do epoch transition to verify the 1st gossip block of next epoch
I notice that we do more and more epoch transitions with caller = "validateGossipBlock" recently
Solution description
predict an epoch boundary reorg ahead
use strong parent for epoch transition instead of the current weak head
add more logs + metrics
note that lodestar will also do epoch boundary reorg from now on #9769
Additional context
No response