Skip to content

Conversation

@glyh
Copy link
Member

@glyh glyh commented Aug 20, 2025

This is the PR for https://www.notion.so/o1labs/Improve-genesis-epoch-ledger-snapshot-creation-23fe79b1f91080299e0edd9bd7a7e21a

I did it slightly different in that: in Genesis_epoch_ledger, store Genesis_ledger.Packed.t instead of Mina_ledger.Ledger.t

This would allow access to any function in Genesis_ledger.Packed, with populate_root included.

Nightly: https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/3852
^ Seems to be passing

@glyh glyh requested review from a team as code owners August 20, 2025 03:35
@glyh glyh force-pushed the lyh/improve-genesis-ledger-creation branch from e63b32f to f2470c6 Compare August 20, 2025 04:46
@glyh
Copy link
Member Author

glyh commented Aug 20, 2025

!ci-build-me

@glyh
Copy link
Member Author

glyh commented Aug 20, 2025

Just to be extra safe:

@glyh
Copy link
Member Author

glyh commented Aug 20, 2025

!ci-nightly-me

@dannywillems
Copy link
Member

!ci-bypass-changelog

Copy link
Member

@dannywillems dannywillems left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for crypto, only propagating.

Copy link
Member

@cjjdespres cjjdespres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passing around the packed genesis ledger seems fine to me, and cleaner than having populate_root be stored/passed separately.

@cjjdespres cjjdespres merged commit e00273e into compatible Aug 20, 2025
55 checks passed
@cjjdespres cjjdespres deleted the lyh/improve-genesis-ledger-creation branch August 20, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants