I want to rotate KES, I suppose this is the way.
When i type the command:
cd $NODE_HOME
cardano-cli query kes-period-info \
--${NODE_CONFIG} \
--op-cert-file node.cert
To determining counter value, i get:
Invalid option `--testnet'
Usage: cardano-cli query kes-period-info
[ --shelley-mode
| --byron-mode [--epoch-slots NATURAL]
| --cardano-mode [--epoch-slots NATURAL]
]
(--mainnet | --testnet-magic NATURAL)
--op-cert-file FILE
[--out-file FILE]
Get information about the current KES period and your node’s operational
certificate.
Anybody knows why , and what i should do different?
Best regards,
Betterloop:
–testnet-magic NATURAL
You need to follow the syntax of the command. The error itself gives you the hint. You need to use -testnet-magic and then the NATURAL number that corresponds to the testnet you are using.
1 Like
Thank you. Should i type --testnet-magic 1 at the end of the command, like this:?
cd $NODE_HOME
cardano-cli query kes-period-info \
--${NODE_CONFIG} \
--op-cert-file node.cert
--testnet-magic 1
Best regards,
That didn’t work… the guide I find and conversations on this forum that I did find are a year or 2 old and lead to error 404 pages.
Aha, Thank you. I did have to delete this part: ${NODE_CONFIG} & put this part in its place (for pre-prod): --testnet-magic 1
cd $NODE_HOME
cardano-cli query kes-period-info \
--testnet-magic 1 \
--op-cert-file node.cert
Best regards,
1 Like