[SOLVED] Cardano-cli v1.34.1 get-tip is not showing percentage

I’m not able to understand why my mainnet cardano-cli is not showing sync percentage:

cardano-cli get-tip --mainnet                                                                                                                         
{
    "hash": "cd1a019349273c4025ad4fac5432ba6f17dbe6315699f55b33a478627a9dc48a",
    "slot": 63127373,
    "block": 7349513
}

cardano-cli --version
cardano-cli 1.34.1 - linux-x86_64 - ghc-8.10
git rev 73f9a746362695dc2cb63ba757fbcabb81733d23

cardano-node --version
cardano-node 1.34.1 - linux-x86_64 - ghc-8.10
git rev 73f9a746362695dc2cb63ba757fbcabb81733d23

but at the same time same cardano-cli that exists on a different machine that also is running cardano-node@testnet works just fine, and returns correct output:

cardano-cli query tip --testnet-magic 1097911063
{
    "era": "Alonzo",
    "syncProgress": "100.00",
    "hash": "d4793ace9edc5d299dae9cab5cf1f364222cd55f8cdf72413dbff32b51c615e2",
    "epoch": 209,
    "slot": 60324812,
    "block": 3614647
}

Also I’m connecting to mainnet cardano-node from that testnet-node in cli using socat and it shows percentage for the mainnet node too!

CARDANO_NODE_SOCKET_PATH=/opt/cardano/sockets/mainnet-all.socket cardano-cli query tip --mainnet                                                      130
{
    "era": "Alonzo",
    "syncProgress": "100.00",
    "hash": "77b3d144e5019480d40ff66308b13f66241fdde9180c22526f5ab5f8f2a20bee",
    "epoch": 343,
    "slot": 63128165,
    "block": 7349549
}

cardano-cli --version
cardano-cli 1.34.1 - linux-x86_64 - ghc-8.10
git rev 73f9a746362695dc2cb63ba757fbcabb81733d23

I mean, WTH???.. what can influence on a cardano-cli binary???

identical binaries running on similar debian boxes.
pure setups, without any extra packages installed.
local cardano-cli on the mainnet-node is not showing required output
remote cardano-cli that resides in the box with cardano testnet running - connected to mainnet via socat is showing all the info?
I believe cardano-node running on the same box with the cardano-cli, either mainnet or testnet should be influencing that simple cardano-cli binary…

Magic!

Difference between get-tip and query tip?

oh… my… god…

that is what happens when you …

1 Like