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

Archive script needed for emergency hardfork #15622

Merged
merged 5 commits into from
May 15, 2024

Conversation

dkijania
Copy link
Member

@dkijania dkijania commented May 9, 2024

Archive script for emergency hf which converts all pending blocks which are ancestors of fork point block. All the other pending blocks should be converted to orphaned

@dkijania dkijania self-assigned this May 9, 2024
@dkijania dkijania requested review from a team as code owners May 9, 2024 12:41
@dkijania dkijania changed the base branch from develop to compatible May 9, 2024 12:41
@dkijania
Copy link
Member Author

dkijania commented May 9, 2024

!ci-build-me

@dkijania dkijania force-pushed the dkijania/emergency_hf_archive_conv_script branch from 2e89858 to d8199de Compare May 9, 2024 21:04
@dkijania dkijania changed the base branch from compatible to berkeley May 9, 2024 21:04
@dkijania
Copy link
Member Author

dkijania commented May 9, 2024

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@ghost-not-in-the-shell
Copy link
Contributor

For the migrated database we should keep the blocks from previous chain (blocks with protocol_version = 2 in this emergency hard fork for example) to be still canonical. Is this the case for your script?

@dkijania
Copy link
Member Author

Copy link
Collaborator

@SanabriaRusso SanabriaRusso left a comment

Choose a reason for hiding this comment

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

Just relaunched a nightly to be extra sure: https://buildkite.com/o-1-labs-2/mina-o-1-labs/builds/33878

From infra standpoint looks ok.

@dkijania
Copy link
Member Author

!ci-build-me

@mrmr1993
Copy link
Member

!approved-for-mainnet

@dkijania dkijania merged commit a45a590 into berkeley May 15, 2024
94 of 97 checks passed
@dkijania dkijania deleted the dkijania/emergency_hf_archive_conv_script branch May 15, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants