mina icon indicating copy to clipboard operation
mina copied to clipboard

Archive script needed for emergency hardfork

Open dkijania opened this issue 9 months ago • 4 comments

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 avatar May 09 '24 12:05 dkijania

!ci-build-me

dkijania avatar May 09 '24 12:05 dkijania

!ci-build-me

dkijania avatar May 09 '24 21:05 dkijania

!ci-build-me

dkijania avatar May 10 '24 08:05 dkijania

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 avatar May 10 '24 15:05 ghost-not-in-the-shell

@ghost-not-in-the-shell I think this is covered by this test case:

https://github.com/MinaProtocol/mina/pull/15622/files#diff-6612dcb6e27729a52fe9ac1654b373ea18c13b28245a21e0f426ce1e6ce0d024R20

dkijania avatar May 13 '24 06:05 dkijania

!ci-build-me

dkijania avatar May 13 '24 20:05 dkijania

!approved-for-mainnet

mrmr1993 avatar May 14 '24 17:05 mrmr1993