Describe the bug
in glamsterdam-devnet-8 unfinality time, I notice we received gossip blocks quite late, and we have to do epoch transitions a lot
Expected behavior
right now, we use getPreState() regen api mostly to get proposer index (double check)
if that's the case, we can mostly use parent block state to validate and forward block to the network
(worse case, we can just dial to block's epoch - 1 to save at least 1 epoch transition)
then we'll do epoch transition when processing block
Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
unstable
Describe the bug
in glamsterdam-devnet-8 unfinality time, I notice we received gossip blocks quite late, and we have to do epoch transitions a lot
Expected behavior
right now, we use
getPreState()regen api mostly to get proposer index (double check)if that's the case, we can mostly use parent block state to validate and forward block to the network
(worse case, we can just dial to
block's epoch - 1to save at least 1 epoch transition)then we'll do epoch transition when processing block
Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
unstable