2.2.0-rc.2
Pre-release
Pre-release
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:
- Stop the
neard
process - Download the new version of
neard
- Clear the compiled contract cache:
rm -rf ~/.near/data/contracts
- Undo the last block:
./neard undo-block
- Start
neard
After that the node should be able to sync with the rest of the network.