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

Provide a way to generate genesis block from genesis constants and ledger #607

Open
trevorbernard opened this issue Mar 13, 2024 · 5 comments
Assignees

Comments

@trevorbernard
Copy link
Contributor

Given a genesis ledger and constants, write a function that generates the genesis block in precomputed block format for a given network.

@trevorbernard trevorbernard added the Enhancement Enhancement to an existing feature label Mar 13, 2024
@robinbb
Copy link
Member

robinbb commented Mar 16, 2024

How do others create the genesis block? Does the Mina node not create one from genesis ledger and constants? (If not, where did the genesis block come from?)

@robinbb robinbb moved this to Backlog in MinaSearch.com Mar 16, 2024
@trevorbernard
Copy link
Contributor Author

How do others create the genesis block? Does the Mina node not create one from genesis ledger and constants? (If not, where did the genesis block come from?)

@robinbb The node generates it but it doesn't write them out as a Precomputed Block unfortunately. It's effectively a no-op block but we need to track it. We have the mainnet genesis block that we generated from the mina-rs codebase. This is something we need to do to support the post hard-fork network.

@robinbb
Copy link
Member

robinbb commented Mar 21, 2024

I understand that we generated it somehow, but how do others do that, I wonder.

@robinbb robinbb added this to the Maintenance milestone Apr 2, 2024
@jhult jhult added Berkeley New Feature A brand new feature and removed Enhancement Enhancement to an existing feature labels May 9, 2024
@jhult jhult changed the title Problem: no way to generate genesis block from genesis constants and ledger Provide a way to generate genesis block from genesis constants and ledger May 9, 2024
@jhult jhult added the Ledger label May 9, 2024
@Isaac-DeFrain
Copy link
Member

I'd like to see if there's a way to get the Mina node to dump the genesis block

@Isaac-DeFrain Isaac-DeFrain self-assigned this May 24, 2024
@robinbb robinbb modified the milestones: Maintenance, Berkeley Support Jun 2, 2024
@robinbb robinbb removed Ledger New Feature A brand new feature labels Jun 2, 2024
@robinbb
Copy link
Member

robinbb commented Jun 18, 2024

I think not technically required to parse logs from a Mina daemon. I'll move to a different milestone. Undo if I'm wrong.

@robinbb robinbb removed this from the Berkeley Support milestone Jun 18, 2024
@robinbb robinbb moved this from Backlog to Wishful in MinaSearch.com Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Wishful
Development

No branches or pull requests

4 participants