Skip to content

Commit

Permalink
Bump minimum required node versions to 10.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Jan 14, 2025
1 parent 947f152 commit 587563c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion files/configs/guild/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 1,
"MinNodeVersion": "10.1.3",
"MinNodeVersion": "10.1.4",
"PeerSharing": true,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresMagic",
Expand Down
2 changes: 1 addition & 1 deletion files/configs/mainnet/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 0,
"MaxKnownMajorProtocolVersion": 2,
"MinNodeVersion": "10.1.3",
"MinNodeVersion": "10.1.4",
"PeerSharing": false,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresNoMagic",
Expand Down
2 changes: 1 addition & 1 deletion files/configs/preprod/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 2,
"LastKnownBlockVersion-Minor": 0,
"MinNodeVersion": "10.1.3",
"MinNodeVersion": "10.1.4",
"PeerSharing": false,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresMagic",
Expand Down
2 changes: 1 addition & 1 deletion files/configs/preview/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 1,
"MinNodeVersion": "10.1.3",
"MinNodeVersion": "10.1.4",
"PeerSharing": false,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresMagic",
Expand Down
2 changes: 1 addition & 1 deletion files/configs/sanchonet/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 1,
"MinNodeVersion": "10.1.3",
"MinNodeVersion": "10.1.4",
"PeerSharing": false,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresMagic",
Expand Down
2 changes: 1 addition & 1 deletion files/node-deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"secp256k1": "v0.3.2",
"sodium": "dbb48cce5429cb6585c9034f002568964f1ce567"
},
"10.1.3":
"10.1.4":
{
"blst": "3dd0f804b1819e5d03fb22ca2e6fac105932043a",
"secp256k1": "v0.3.2",
Expand Down
4 changes: 2 additions & 2 deletions scripts/cnode-helper-scripts/env
Original file line number Diff line number Diff line change
Expand Up @@ -1111,8 +1111,8 @@ node_version="$(${CNODEBIN} version | head -1 | cut -d' ' -f2)"
cli_version="$(${CCLI} version | head -1 | cut -d' ' -f2)"

# TODO: Bump minimum version to 10.1.4 once it has been out in wild for a while
if ! versionCheckNode "10.1.3" "${node_version}" || ! versionCheckNode "10.1.1.0" "${cli_version}"; then
echo -e "\nKoios scripts have now been upgraded to support cardano-node 10.1.3 ('${node_version}' found) / cardano-cli 10.1.x.x ('${cli_version}' found).\nPlease update cardano-node binaries (ensure to read release notes and update various configs using guild-deploy (use appropriate options to download/install/overwrite parts you need) or use tagged branches for older node version (eg: ./<script>.sh -b node-8.9.4 to switch scripts to an older branch).\n\n"
if ! versionCheckNode "10.1.4" "${node_version}" || ! versionCheckNode "10.1.1.0" "${cli_version}"; then
echo -e "\nKoios scripts have now been upgraded to support cardano-node 10.1.4 ('${node_version}' found) / cardano-cli 10.1.x.x ('${cli_version}' found).\nPlease update cardano-node binaries (ensure to read release notes and update various configs using guild-deploy (use appropriate options to download/install/overwrite parts you need) or use tagged branches for older node version (eg: ./<script>.sh -b node-8.9.4 to switch scripts to an older branch).\n\n"
return 1
fi

Expand Down

0 comments on commit 587563c

Please sign in to comment.