github-actions released this 5 hours ago
This is a minor release to support the hard fork to Alonzo protocol version 6. The purpose of this protocol version is to fix a bug in conversion of time for Plutus scripts.
Additionally, we make a change to the crypto library which should have a positive impact on sync times.
All SPOs and node users must update to this (or a later) version prior to the HF to Alonzo PV 6, or risk not being able to sync to the network.
How to update to 1.30.1
!!! YOU MUST KNOW THAT starting with 1.29.0 version the servers require ~10G RAM !!! (if you have 8G you can add 2-3G of SWAP)
bofore to start it’s better also to update the server
sudo apt-get update
sudo apt-get upgrade
sudo reboot
- perform a snapshot for server (if u have this option offered by your provider) before to start the update
- update the Relays first (one by one)
BUILDING THE NODE
- stop the node :
sudo systemctl stop cnode
- build the node
cd ~/git
sudo rm -R cardano-node
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git fetch --tags --all
git checkout 1.30.1
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh
at the end you should see:
Copying unit to /home/user/.cabal/bin/
Copying cardano-topology to /home/user/.cabal/bin/
Copying locli to /home/user/.cabal/bin/
Copying cardano-submit-api to /home/user/.cabal/bin/
Copying plutus-example to /home/user/.cabal/bin/
Copying cardano-cli to /home/user/.cabal/bin/
Copying cardano-node to /home/user/.cabal/bin/
Copying cardano-node-chairman to /home/user/.cabal/bin/
Copying tx-generator to /home/user/.cabal/bin/
:~/git/cardano-node$
438734:~/git/cardano-node$ cardano-node --version
cardano-node 1.30.1 - linux-x86_64 - ghc-8.10
git rev 0fb43f4e3da8b225f4f86557aed90a183981a64f
i438734:~/git/cardano-node$ cardano-cli --version
cardano-cli 1.30.1 - linux-x86_64 - ghc-8.10
git rev 0fb43f4e3da8b225f4f86557aed90a183981a64f
It took ~40 minutes
START THE NODE
sudo systemctl start cnode
check the status and the revision (should be 0fb43f4)
/git/cardano-node$ sudo systemctl status cnode
â—Ź cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-09-28 21:40:56 CEST; 3s ago
Process: 60393 ExecStop=/bin/bash -l -c exec kill -2 $(ps -ef | grep [c]ardano-node.*./opt/cardano/cnode/ | tr -s ' ' | cut -d ' ' -f2) &>/dev/null (code=exited, status=0/SUCCESS)
Main PID: 5640 (cnode.sh)
Tasks: 10 (limit: 9830)
Thank you,