lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Request reward interface returns 404-【NOT_FOUND: missing state at slot xxxxx】

Open azaliasmee opened this issue 1 year ago • 1 comments

Description

I requested the lighthouse reward api interface but found that it played 404.please help, thanks

Version

RUN ENV:Docker

Version:sigp/lighthouse:v5.2.1

Present Behaviour

image

Expected Behaviour

It is expected to return data, as shown in the following example: image

🙏

azaliasmee avatar Aug 27 '24 12:08 azaliasmee

You need to reconstruct historic states to access states older than finalization. See:

https://lighthouse-book.sigmaprime.io/checkpoint-sync.html#reconstructing-states

michaelsproul avatar Aug 27 '24 13:08 michaelsproul

You need to reconstruct historic states to access states older than finalization. See:

https://lighthouse-book.sigmaprime.io/checkpoint-sync.html#reconstructing-states

Thank you very much for your help, this flag(--reconstruct-historic-states) solved my problem. 🍺

azaliasmee avatar Aug 28 '24 13:08 azaliasmee

great to hear!

michaelsproul avatar Aug 28 '24 22:08 michaelsproul