Error on finalized flag for /eth/v2/beacon/blocks/{block_id}
#13408
Labels
Bug
Something isn't working
/eth/v2/beacon/blocks/{block_id}
#13408
Describe the bug
I run several nodes behind a node balancer. I query for the checkpoint and when I receive a new one I query
/eth/v1/beacon/headers/{block_id}
with theblock_id = finalized_root
from the checkpoint payload. Then, I query for all the slots between the previous finalized slot and the current finalized slot.When I queried slot
8118490
(endpoint =/eth/v2/beacon/blocks/8118490
) after having seen a new checkpoint (not necessarily from the node that I was quering), I received the payload for the block with the flagfinalized: true
which is not what I was expecting since the slot has been forked/uncled.I was expecting either a 404 (block not found) or
finalized: false
.Is this an expected behaviour?
Here is the payload that I received for slot
8118490
that shows the finalized flag = true.Has this worked before in a previous version?
🔬 Minimal Reproduction
Below are the prism flags and environment used for all of the nodes behind the node balancer.
Error
No response
Platform(s)
Linux (x86)
What version of Prysm are you running? (Which release)
4.0.8
Anything else relevant (validator index / public key)?
No response
The text was updated successfully, but these errors were encountered: