after (more or less) successfully setting up a pool on the so called “shelley testnet” I now tried using the new cardano-node 1.18.0 and the mainnet-candidate-4 configuration files. Also, one hour ago the 1.6.0-STN5-wallet was released which will provide me with test ADA for registering addresses and pools.
After creating wallet & staking keys and addresses I obviously cannot query the (synced) node using
The resulting error is: “cardano-cli: HandshakeError (Refused NodeToClientV_3 “version data mismatch: NodeToClientVersionData {networkMagic = NetworkMagic {unNetworkMagic = 42}} /= NodeToClientVersionData {networkMagic = NetworkMagic {unNetworkMagic = 764824073}}”)”
This error does not change. I used --mainnet also for address generation of course. It does not make any difference if I use ----testnet-magic 42 argument again (for both address generation and query).
What am I missing here? Anybody with the same problems? I’m trying to avoid CNtools for now to understand what I’m really doing.
These Identifiers are used within the whole script to invoke cardano-cli. For mainnet-candidate-4: hashing calls use --mainnet, query calls use --cardano-mode --testnet-magic 42. The --testnet-magic 42 is to be replaced with --mainnet in the future.
same issue here… just started the node with testnet config and wanted to check the sync status with cardano-cli shelley query tip --testnet-magic 42 and got the following error:
My solution was for using the mainnet instead of the mainnet candidate 4 - not the “new/old” testnet. I can only guess that you would have to use the magic as per testnet-shelley-genesis.json (1097911063)…?
~Is it possible that you’re using an older version of cardano-cli?
What does cardano-cli --version say?~
Thought it as a complaint about NodeToClientV_3 in it self, not the network magic.
Use the testnet configuration files instead.
There you will use the same ports as in production and it has a public faucet which you will need to actually setup a stakepool.
The network-magic number you will find in the config file (it is not 42).
Bare in mind that you will be connecting to servers at relays-new.cardano-testnet.iohkdev.io.
A lot of scripts don’t keep that in mind yet.
Hi ThaiTheo, your Idea looks right, while I can’t find network-magic in config file as you suggested, I change my --testnet-magic according to “networkMagic” number in testnet-shelley-genesis.json.