SPS Validator Node: How to update to new version

in splinterlands •  last month

    There are three kinds of updates as stated in the README file.

    "block-hash-stable" updates. These are updates that you don't need to apply. They normally add additional endpoints to the validator API, or improve or fix bugs with the installation scripts.

    "block-hash-breaking" updates. These are updates that you must apply before their scheduled "go-live" block. If your node is not updated before the go-live block, your node's block hash will be different, and you will not earn rewards.

    "schema-breaking" updates. These are updates you must apply before their scheduled "go-live" block, but you must apply them on the block before the go-live block.

    Version 1.0.1 is a block-hash-stable update.

    Inactivate your node first

    2025-03-19-13-04-28.png



    run

    git fetch --tags -f && git checkout v1.0.1
    
    

    You can see this message. This message is normal

    2025-03-19-13-03-41.png

    ./run.sh rebuild_service validator
    
    

    To rebuild the validator with the latest updates. This will also start the validator.

    2025-03-19-13-05-47.png

    
    ./run.sh rebuild_service ui
    
    

    if you want to rebuild the UI.

    Wait to become block to head:0

    2025-03-19-13-07-34.png

    Activate your node again

    2025-03-19-13-08-09.png

    You can see your node is running with update version!

    2025-03-19-13-08-56.png

      Authors get paid when people like you upvote their post.
      If you enjoyed what you read here, create your account today and start earning FREE VOILK!