You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update 2026-03: CLI v11 and LightMode-dRepInfo Fix
- Fix for the lightmode using koios for getting the current dRep status
- Minimum versions for the cardano-node and cardano-cli are now 11.0.0
- Update contains cardano-signer 1.35.0
Copy file name to clipboardExpand all lines: cardano/mainnet/00_common.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -337,9 +337,9 @@ if [[ "${adahandleAPI: -1}" == "/" ]]; then adahandleAPI=${adahandleAPI%?}; fi #
337
337
if [[ "${magicparam}"==""||${addrformat}==""||${byronToShelleyEpochs}=="" ]];then majorError "The 'magicparam', 'addrformat' or 'byronToShelleyEpochs' is not set!\nOr maybe you have set the wrong parameter network=\"${network}\" ?\nList of preconfigured network-names: ${networknames}";exit 1;fi
338
338
339
339
#Don't allow to overwrite the needed Versions, so we set it after the overwrite part
340
-
minCliVersion="10.14.0"#minimum allowed cli version for this script-collection version
340
+
minCliVersion="11.0.0"#minimum allowed cli version for this script-collection version
341
341
maxCliVersion="99.99.9"#maximum allowed cli version, 99.99.9 = no limit so far
342
-
minNodeVersion="10.5.3"#minimum allowed node version for this script-collection version
342
+
minNodeVersion="11.0.0"#minimum allowed node version for this script-collection version
343
343
maxNodeVersion="99.99.9"#maximum allowed node version, 99.99.9 = no limit so far
344
344
minLedgerCardanoAppVersion=${ENV_MINLEDGERCARDANOAPPVERSION:-"7.1.4"}#minimum version for the cardano-app on the Ledger HW-Wallet
345
345
minTrezorCardanoAppVersion="2.7.2"#minimum version for the firmware on the Trezor HW-Wallet
if [ $?-ne 0 ];thenecho -e "Query via Koios-API (${koiosAPI}) failed, not a JSON response.";exit 1;fi;#reponse is not a json file
1685
1685
1686
1686
#check if the drepID is registered, if not, return an empty array
1687
-
if [[ $(jq -r ".[0].registered"<<<"${responseJSON}"2> /dev/null)!="true" ]];then
1687
+
if [[ $(jq -r ".[0].drep_status"<<<"${responseJSON}"2> /dev/null)!="registered" ]];then
1688
1688
printf"[]";#drepID not registered on chain, return an empty array
1689
1689
else
1690
1690
1691
1691
local hasScript;local delegatedStake;local drepDeposit;local drepHex;local drepExpiry;local drepAnchorUrl;local drepAnchorHash;#define local variables so we can read it in one go with the next jq command
Copy file name to clipboardExpand all lines: cardano/testnet/00_common.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -337,9 +337,9 @@ if [[ "${adahandleAPI: -1}" == "/" ]]; then adahandleAPI=${adahandleAPI%?}; fi #
337
337
if [[ "${magicparam}"==""||${addrformat}==""||${byronToShelleyEpochs}=="" ]];then majorError "The 'magicparam', 'addrformat' or 'byronToShelleyEpochs' is not set!\nOr maybe you have set the wrong parameter network=\"${network}\" ?\nList of preconfigured network-names: ${networknames}";exit 1;fi
338
338
339
339
#Don't allow to overwrite the needed Versions, so we set it after the overwrite part
340
-
minCliVersion="10.14.0"#minimum allowed cli version for this script-collection version
340
+
minCliVersion="11.0.0"#minimum allowed cli version for this script-collection version
341
341
maxCliVersion="99.99.9"#maximum allowed cli version, 99.99.9 = no limit so far
342
-
minNodeVersion="10.5.3"#minimum allowed node version for this script-collection version
342
+
minNodeVersion="11.0.0"#minimum allowed node version for this script-collection version
343
343
maxNodeVersion="99.99.9"#maximum allowed node version, 99.99.9 = no limit so far
344
344
minLedgerCardanoAppVersion=${ENV_MINLEDGERCARDANOAPPVERSION:-"7.1.4"}#minimum version for the cardano-app on the Ledger HW-Wallet
345
345
minTrezorCardanoAppVersion="2.7.2"#minimum version for the firmware on the Trezor HW-Wallet
if [ $?-ne 0 ];thenecho -e "Query via Koios-API (${koiosAPI}) failed, not a JSON response.";exit 1;fi;#reponse is not a json file
1685
1685
1686
1686
#check if the drepID is registered, if not, return an empty array
1687
-
if [[ $(jq -r ".[0].registered"<<<"${responseJSON}"2> /dev/null)!="true" ]];then
1687
+
if [[ $(jq -r ".[0].drep_status"<<<"${responseJSON}"2> /dev/null)!="registered" ]];then
1688
1688
printf"[]";#drepID not registered on chain, return an empty array
1689
1689
else
1690
1690
1691
1691
local hasScript;local delegatedStake;local drepDeposit;local drepHex;local drepExpiry;local drepAnchorUrl;local drepAnchorHash;#define local variables so we can read it in one go with the next jq command
0 commit comments