I’m using cardano-cli 1.27.0 - linux-x86_64 - ghc-8.10 git rev 709a259403c0ba03988950c0e4696d7457a3a5aa version. I have a docker-compose running two services, from relay_nodes.
I execute cardano-cli query protocol-parameters --shelley-mode --testnet-magic 1097911063 --out-file protocol.json, pointing to the node.socket of the first service, let’s call it relay1.
So, I’m getting this error:
cardano-cli: encodeFailure: local state query: using acquire without a Point must be conditional on negotiating v8 of the node-to-client protocol CallStack (from HasCallStack): error, called at src/Ouroboros/Network/Protocol/LocalStateQuery/Codec.hs:79:7 in ouroborosnetwork0.1.0.04jeKomdFdXlCG0PGFQPwJS:Ouroboros.Network.Protocol.LocalStateQuery.Codec
Why is this? Should I turn off one of the services and try the command with relay1 on?
Hi DiazRock. I ran into the same problem when trying to make a leaderlog query on my mainnet BP. After hours of trying a lot of other things i simply tried to query without --shelley-mode and it worked.
Just ran cardano-cli query protocol-parameters --mainnet without an error too.
Hi @charismatik1 . That’s a good option. But I want to try in testnet first. Even I also claim a faucet in a page. Nevertheless, I tried without --shelley-mode, and It gives me an error related to byron era. I arrived to –shelley-mode because of that error. I try to use another version of the node and the node cli. Where can I found it?
ok - I am not sure but perhaps better to wait till the node is in sync, on testnet the epoch is around 130: https://explorer.cardano-testnet.iohkdev.io/en
so checking the tip is useful to get the current sync status of the node