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

Replace the evaluated drep pulser in ledger state #1599

Closed
kderme opened this issue Jan 10, 2024 · 0 comments · Fixed by #1687
Closed

Replace the evaluated drep pulser in ledger state #1599

kderme opened this issue Jan 10, 2024 · 0 comments · Fixed by #1687
Assignees
Labels
conway Conway integration blockers or reauested feautures

Comments

@kderme
Copy link
Contributor

kderme commented Jan 10, 2024

In Conway era, at the first block of each epoch, DBSync uses finishDRepPulser to force the computation of the drep snapshots. It extractthe information it needs and stores it in the db. To avoid recomputing the drep pulser we can adjust the ledger state by replacing the newEpochStateDRepPulsingStateL with the computed version. ledger provides forceDRepPulsingState which can be used for this.

@kderme kderme added the conway Conway integration blockers or reauested feautures label Jan 10, 2024
@sgillespie sgillespie self-assigned this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conway Conway integration blockers or reauested feautures
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants