mina
mina copied to clipboard
Archive script needed for emergency hardfork
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
!ci-build-me
!ci-build-me
!ci-build-me
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?
@ghost-not-in-the-shell I think this is covered by this test case:
https://github.com/MinaProtocol/mina/pull/15622/files#diff-6612dcb6e27729a52fe9ac1654b373ea18c13b28245a21e0f426ce1e6ce0d024R20
!ci-build-me
!approved-for-mainnet