Query leadership-schedule Error: Failed to successfully decode protocol state

  1. After successfully upgrading my Relay and BP to 1.35.3, I get the following error when I query leadership-schedule:
Command failed: query leadership-schedule  Error: Failed to successfully decode protocol state: Deserialisation failure while decoding TPraosState StandardCrypto.
CBOR failed with error: DeserialiseFailure 1 "Size mismatch when decoding Versioned.\nExpected 2, but found 3."

Anybody know what’s going on here?

This is the command I use:

cardano-cli query leadership-schedule --mainnet --genesis $NODE_HOME/mainnet-shelley-genesis.json --stake-pool-id $(cat $NODE_HOME/stakepoolid.txt) --vrf-signing-key-file $NODE_HOME/vrf.skey --next

Did you download the latest config files?

And: Is the cardano-cli you are running there also 1.35.3 or do you maybe have an old version floating around?

cardano-cli 1.35.3 - linux-aarch64 - ghc-8.10
git rev 950c4e222086fed5ca53564e642434ce9307b0b9

The funny thing is the ledger did not resync after the upgrade. I have rebooted and restarted the node and now it is syncing. Hopefully, that’s all it was - I’l try query leadership-schedule again after it’s done - and post results.

1 Like

Sync complete - query leadership-schedule works as expected now…

1 Like