-
Notifications
You must be signed in to change notification settings - Fork 723
update
If you use the binaries, simply download the latest binaries, and make sure you use the latest nightly version of rust.
Set the latest nightly as default:
rustup default nightlyUpdate Rust:
rustup updateOtherwise:
Make sure you you have the right git repository (especially since the change from GitLab to GitHub):
cd massa/
git stash
git remote set-url origin https://github.com/massalabs/massa.gitUpdate Massa:
git checkout testnet
git pullAfter updating, enter the command node_get_staking_addresses in your client and make sure that it returns an address that has rolls according to wallet_info.
-
If
wallet_infodoes not return any address, it means that you haven't backed up your wallet.dat correctly. Close the client, overwrite wallet.dat with your backup, launch the client again and try again. You can also create a new address by callingwallet_generate_private_key. -
If you can't find an address in
wallet_infothat has non-zero candidate, non-zero final and non-zero active rolls, please refer to the staking tutorial on getting rolls. -
If
node_get_staking_addressesdoes not return any address or does not return an address that has active_rolls according towallet_info, it means you haven't backed up staking_keys.json properly. Try stopping the node, overwriting staking_keys.json with your backup, and starting the node again to try again. You can also manually add a staking private key by callingadd_staking_private_keyswith the PRIVATE KEY matching the address that has active rolls inwallet_info(warning: do not type the address or public key, only the PRIVATE KEY).