Cardano-cli leaderlog incorrect if run before Vasil

For those that use cardano-cli to calculate leaderlogs: If you ran your leaderlog at the end of last epoch (before Vasil) you may need to run it again now that we are in the post Vasil era.

I used cardano-cli to get my leaderlog 1 day before Vasil as follows:

CARDANO_NODE_SOCKET_PATH='/run/cardano/mainnet-node.socket' cardano-cli query 
leadership-schedule \
  --mainnet \
  --genesis /etc/cardano/mainnet-shelley-genesis.json \
  --stake-pool-id "blahblahblah" \
  --vrf-signing-key-file /etc/cardano/private/vrf.skey \
  --next

Then I just repeated this query changing the last switch to ‘–current’ and got different results which are now the correct results.

Note that this is not about the cncli tool. It uses a separate switch --tproas vs --proas for pre and post the Vasil upgrade.

6 Likes

Hi,
What’s the correct value now tpraos or praos ?

Hi,

No consensus flag at all or “praos”,