-
Notifications
You must be signed in to change notification settings - Fork 586
Delay converting genesis ledgers #17789
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
base: compatible
Are you sure you want to change the base?
Conversation
5337801 to
af4886b
Compare
| Mina_ledger.Ledger.Root.Config.( | ||
| equal_backing_type ledger_backing Converting_db) | ||
| then | ||
| Persistent_root.convert_instance_exn ~logger ~here:[%here] persistent_root ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where we run the conversion.
|
Actually, we might have a bug here. if downstream refer to the root and save it. lifting a stable root to converting root will create a new variable. I should've store the ref inside the root instead. Still, except for that this should be okay for a review. Will fix when I'm here tomorrow. |
Sorry, I missed this part of the comment. |
|
I guess this is already done in your other PRs? If not, this need to be reworked because related code had been touched though. |
Closes #17747 and partially #17754
For epoch ledger parts would be done in another PR.