2.2.1-rc.1
Pre-release
Pre-release
CODE_COLOR: CODE_RED_TESTNET
RELEASE_VERSION: 2.2.1-rc.1
PROTOCOL_UPGRADE: FALSE
DATABASE_UPGRADE: FALSE
SECURITY_UPGRADE: TRUE
This release patches a bug found in the 2.2.0 release
Non-protocol changes
There was a bug in the integration between ethereum implicit accounts and the compiled contract cache which sometimes caused the nodes to get stuck. This would most often happen during state sync, but could also happen by itself. Please update your nodes to avoid getting stuck.
A node that hits this bug will print an error about an InvalidStateRoot
in the logs and then it'll be unable to sync.
It's possible to recover a stalled node by clearing the compiled contract cache and rolling back one block:
- 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 recover and sync with the rest of the network.