-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chaind downloading old blocks (ignoring blocks.start-slot parameter) #81
Comments
From my understading it's the finalizer module fetching old data. Is it possible to let it start from a specific slot (same as I tried restarting the chaind process several times and querying the database I noticed this pattern:
The log confirms the theory (slot 5799194 was mined just a moment ago):
|
As a confirmation, I tried to run a new node with same configuration except disabling the finalizer and the old blocks don't get downloaded. Both Would be nice to have the possibility to enable the finalizer only on slots newer than |
I have spent some time looking at this, however |
As a workaround, I played with the
Then I stopped chaind, enabled the
But after updating manually the |
I have had similar issues, even when disabling finalizer service all services seem to start at genesis regardless of the start-slot or start-epoch params I passed. I also tried manually updating the metadata table as mentioned above and that seemed to work for some services, but blocks and summarizer now appear stuck per this other issue: #83 |
The first time you start chaind the As for the metadata table manual changes and issues thereafter I don't know. Luckily it worked for me (don't know if it can make any difference, but I waited for |
My goal is to run chaind with only recent data (i.e. last 24/48 hours).
I started chaind sync with
blocks.start-slot: 5790000
. At first it worked, downloading only blocks after the specified slot.I then removed
blocks.start-slot
from the configuration (as suggested, to avoid forced re-scans at future restart of the process), few moments latert_blocks
table catched up with the chain tip.{"level":"info","service":"blocks","impl":"standard","time":"2023-02-13T21:35:32+01:00","message":"Caught up"}
But now it is downloading old blocks data (and full history from slot 0 of
t_beacon_committees
which is still catching up with the chain tip, andt_proposer_duties
which didn't take a very long time).Current configuration file chaind.yml:
The text was updated successfully, but these errors were encountered: