Skip to content
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

[OldReceipts] Invalid progress displayed when only AncientBarriersBodies set #7006

Open
kamilchodola opened this issue May 10, 2024 · 0 comments

Comments

@kamilchodola
Copy link
Contributor

According to docs:

--Sync.AncientReceiptsBarrier <value> NETHERMIND_SYNCCONFIG_ANCIENTRECEIPTSBARRIER

The earliest receipt downloaded with fast sync when DownloadReceiptsInFastSync is set to true. The actual value is determined as folows:

max{ 1, min{ PivotNumber, max{ AncientBodiesBarrier, AncientReceiptsBarrier } } }

So if AncientBodiesBarrier is set, then it should be also respected for receipts if AncientBodiesReceipts is missing.

On chiado What i saw after setting AncientBodiesBarrier to 9000000 was on OldBodies:

Old Bodies 0/708571

but for OldReceipts:

Old Receipts 0/9708571

but it was properly syncing only to 708571 - so logic is good but the progress (it's maximum) is displayed not properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant