github near/nearcore 2.2.0-rc.2

latest releases: 2.2.1, 2.2.1-rc.1, crates-0.26.0...
pre-release12 days ago
CODE_COLOR: CODE_RED_TESTNET
RELEASE_VERSION: 2.2.0-rc.2
PROTOCOL_UPGRADE: FALSE
DATABASE_UPGRADE: FALSE
SECURITY_UPGRADE: FALSE

Changes

This is an emergency testnet release.
In 2.2.0-rc.1 the protocol upgrade was supposed to update the eth wallet contract on testnet to a new version,
but there was a bug which caused some of the nodes to stay with the old version of the contract. Because of that
some of the nodes had one version and some had the other and the consensus diverged.
Some nodes didn't accept the chunks and they got stuck.

This release fixes the bug - all nodes will continue using the old eth-wallet contract, as this is what the
canonical chain does.

Nodes that got stuck need manual intervention. The steps to recover a stalled node are:

  1. Stop the neard process
  2. Download the new version of neard
  3. Clear the compiled contract cache: rm -rf ~/.near/data/contracts
  4. Undo the last block: ./neard undo-block
  5. Start neard

After that the node should be able to sync with the rest of the network.

Don't miss a new nearcore release

NewReleases is sending notifications on new releases.