๐ ๏ธ Upgrade
Automatic upgrade
source <(curl -s https://raw.githubusercontent.com/validexisinfra/Polkadot/main/upgrademain.sh)Manual upgrade
cd ~/polkadot-sdk
git fetch --all --tags
git checkout polkadot-v1.20.1
git submodule update --init --recursive
cargo clean
cargo build --release
sudo systemctl stop polkadot.service
sudo cp target/release/polkadot* /usr/lib/polkadot/
sudo systemctl restart polkadot.service
sudo journalctl -u polkadot.service -fLast updated