-
Notifications
You must be signed in to change notification settings - Fork 892
Open
Labels
HTTP-APIbugSomething isn't workingSomething isn't workingtree-statesOngoing state and database overhaulOngoing state and database overhaul
Description
I queried /eth/v1/beacon/states/121568/committees
on hoodi at the beginning of slot 121568 (which is also the beginning of epoch 3799) and received committees for the prior epoch.
lighthouse --version
v7.0.0-beta.5-6d5a2be
This appears to be an intermittent issue; at other times I have queried the committees and received the data for the requested epoch.
Metadata
Metadata
Assignees
Labels
HTTP-APIbugSomething isn't workingSomething isn't workingtree-statesOngoing state and database overhaulOngoing state and database overhaul
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
michaelsproul commentedon Apr 3, 2025
Hmm that is really odd.
This seems hard to debug remotely, I'll try to convert one of our Hoodi nodes to an archive node to see if we can repr but that might take a bit.
michaelsproul commentedon Apr 3, 2025
Can you let us know which BN flags this node is using? Anything funky for
--shuffling-cache-size
? How about--hierarchy-exponents
?mcdee commentedon Apr 3, 2025
This is a validating node, so not running as an archive.
Parameters are as per below (
xxx
masks information but I don't believe any of them should matter).mcdee commentedon Apr 3, 2025
And here is the code I used to find the issue, in case it's useful: https://github.com/mcdee/committees
michaelsproul commentedon Apr 4, 2025
Ok, I reckon I know what it is:
I suspect the requests are arriving before we have a block at that slot, so we are returning the head state rather than the head state advanced to the desired slot.
As a workaround, it should be fine if you manually pass the
epoch
query parameter, although I realise we are massively off spec here.