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

A tool to update genesis time of an existing state #5664

Merged
merged 8 commits into from
Apr 28, 2020

Conversation

terencechain
Copy link
Member

This PR adds tool update-genesis-time to update the genesis time of an existing state. This is useful so we don't have to regenerate genesis state with large amount of validators (300k validators = 4 hours)

@terencechain terencechain requested a review from a team as a code owner April 28, 2020 17:45
@terencechain terencechain self-assigned this Apr 28, 2020
@terencechain terencechain added Ready For Review A pull request ready for code review Enhancement New feature or request labels Apr 28, 2020
0xKiwi
0xKiwi previously approved these changes Apr 28, 2020
inputSSZState = flag.String("input-ssz-state", "", "Input filename of the SSZ marshaling of the genesis state")
)

func main() {
Copy link
Member

Choose a reason for hiding this comment

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

Please add some documentation about what this is and why you would use it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Added a readme

@prylabs-bulldozer prylabs-bulldozer bot merged commit 44611e0 into master Apr 28, 2020
@delete-merged-branch delete-merged-branch bot deleted the update-genesis-time branch April 28, 2020 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants