Cardano Node 1.32.1


@LaurenceIO LaurenceIO released this 5 hours ago

· 18 commits to master since this release



Cardano Node version 1.32.1 introduces a number of improvements and enhancements to improve the usability of the Cardano node. Native asset name rendering has been changed in order to eliminate problems caused by non-printing characters, CLI commands now default to the Alonzo era, and default values have been added to simplify startup where a genesis file is not supplied (eg in test or standalone settings). Additional logging is available during node startup, enabling progress to be tracked more easily, and statistics counting has been disabled in order to reduce noise. Limits have been added to mini protocols. There is better rendering of some trace messages.
Documentation has also been improved in various areas.

This version also adds experimental support for peer-to-peer network. It is unverified and unsupported , and hence not recommended to be enabled in production.

Breaking Changes

  1. Asset Name Format Change. Note that asset names are now output in hex format when querying UTxO entries. Any user who is relying on asset names to be represented as ASCII text will need to change their tooling. As a temporary transitional solution, it is possible to use Cardano-cli version 1.31 with node version 1.32.1 if desired, or to continue to use node version 1.31. This will not be possible following the next hard fork (which is expected in early 2022).
  2. CLI default era change. CLI commands now default to the Alonzo era (previously Mary era). Tooling may need to be revised if it was relying on the default.

Technical Specification

Minimum System Requirements

  • An Intel or AMD x86 processor with two or more cores, at 1.6GHz or faster (2GHz or faster for a stake pool or relay)
  • 12GB of RAM
  • 20GB of free storage

!!! if your servers have only 8G of RAM you can configure the SWAP file

free -m


next command will alocate 3G for SWAP file (you can configure what value you want - just replace 3G with your needs)

sudo fallocate -l 3G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

now to make it permanently type
sudo nano /etc/fstab

and add to the end, as a new line
/swapfile swap swap defaults 0 0
save the file (Ctrl + x then Y then ENTER)

check if the configuration was successfully

free -m


How to update to 1.32.1

before to start it’s better also to update the server/OS

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)


  • stop the node :
sudo systemctl stop cnode

update cabal

cabal update
  • 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.32.1

echo -e "package cardano-crypto-praos\n  flags: -external-libsodium-vrf" > cabal.project.local

at the end you should see:

Copying unit to /home/user/.cabal/bin/
Copying cardano-topology to /home/user/.cabal/bin/
Copying trace-dispatcher-examples to /home/user/.cabal/bin/
Copying locli to /home/user/.cabal/bin/
Copying cardano-submit-api to /home/user/.cabal/bin/
Copying cardano-cli to /home/user/.cabal/bin/
Copying plutus-example to /home/user/.cabal/bin/
Copying create-script-context 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/

this time it took ~35 minutes


sudo systemctl start cnode

check the status

438734:/opt/cardano/cnode/scripts$ sudo systemctl status cnode
● cnode.service - Cardano Node
   Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2021-12-13 22:54:46 CET; 8min ago
  Process: 24421 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: 33236 (bash)
    Tasks: 17 (limit: 4915)
   CGroup: /system.slice/cnode.service
           ├─33236 bash /opt/cardano/cnode/scripts/cnode.sh
           └─33342 /home/user.cabal/bin/cardano-node run --topology /opt/cardano/cnode/files/topology.json --config /opt/cardano/cnode/files/config.json --database-path /opt/cardano/cn

Dec 13 22:54:46 vmi438734.contaboserver.net systemd[1]: Started Cardano Node.
Dec 13 22:54:47 vmi438734.contaboserver.net cnode[33236]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.
Dec 13 22:54:48 vmi438734.contaboserver.net cnode[33236]: Node configuration: NodeConfiguration {ncNodeIPv4Addr = Just, ncNodeIPv6Addr = Nothing, ncNodePortNumber = Just 6000, ncCon
lines 1-13/13 (END)

**check the revision number, should be 4f65fb9a27aa7e3a1873ab4211e412af780a3648**

438734:~/git/cardano-node$ cardano-node --version
cardano-node 1.32.1 - linux-x86_64 - ghc-8.10
git rev 4f65fb9a27aa7e3a1873ab4211e412af780a3648
438734:~/git/cardano-node$ cardano-cli --version
cardano-cli 1.32.1 - linux-x86_64 - ghc-8.10
git rev 4f65fb9a27aa7e3a1873ab4211e412af780a3648


Thank you

great work mate,
my nodes are running too :wink:

1 Like

thank you!! :slight_smile:

1 Like

Does anyone know why cntools and gLiveView say that I have 2 blocks but I can’t find the second block on the network and nowhere


can you please provide me your ticker?

please run ./cncli.sh sync and after ./cncli.sh init and check what is the status for the lost slot

to execute that I have to place the private files, I better leave it like that.
So you say that I have lost a slot? but who has processed it then?

I don’t see the slot 308.243130 minted by someone else on epoch 308


could be:

  • error reported by cncli for 2nd slot
  • or the slot was ghosted, stolen or missed

but if it was stolen or lost, it would be in the network processed by another pool. I understand then it is ghosted. thanks Alex

1 Like

Does anyone know of a similar upgrade guide for Coin Cashew users?

follow this guide but replace 1.31.0 with 1.32.1

1 Like

Thanks @Alexd1985


You are welcome

Thanks Alex, worked for me. It took 40. Thanks for being on top. Happy new Year.

1 Like

Happy new year!

1 Like

inside cardano-node/scripts there is no cabal-build-all.sh
if gives me: ‘No such file or directory’ even tho i just download the last version of the cardano-node…

hmmm the scripts should be located

cd $CNODE_HOME/scripts
full path cd opt/cardano/cnode/scripts

PS: u are using coincashew guide ore cntools?

I use the coincashew guide…

then use this guide but replace 1.31.0 with 1.32.1

1 Like

hey i did the update but im getting an error trying to do a simple transaction ive never had this issue before do you know the fix?

Error in question:

Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (FeeTooSmallUTxO (Coin 177337) (Coin 176765))))])