github near/nearcore 2.8.0-rc.2

pre-release14 hours ago
CODE_COLOR: CODE_GREEN_TESTNET
RELEASE_VERSION: 2.8.0-rc.2
PROTOCOL_UPGRADE: FALSE
DATABASE_UPGRADE: FALSE
SECURITY_UPGRADE: FALSE

Non-protocol changes

This release addresses an issue in the state snapshot migration, specifically when the hot database path is an absolute path.

Added a neard subcommand tool that can be used to recover data that was lost due to a bug in resharding. (#14185)

Note

Instructions how to use the tool:

# (optional) check that the data is missing 
# each of the following commands should fail with MissingTrieValue
neard database archival-data-loss-recovery --protocol-version 75 --check-only
neard database archival-data-loss-recovery --protocol-version 76 --check-only
neard database archival-data-loss-recovery --protocol-version 78 --check-only

# recover the missing data
neard database archival-data-loss-recovery --protocol-version 75
neard database archival-data-loss-recovery --protocol-version 76
neard database archival-data-loss-recovery --protocol-version 78

# check that the data is no longer missing
neard database archival-data-loss-recovery --protocol-version 75 --check-only
neard database archival-data-loss-recovery --protocol-version 76 --check-only
neard database archival-data-loss-recovery --protocol-version 78 --check-only

Don't miss a new nearcore release

NewReleases is sending notifications on new releases.