I'm facing some issues with cardano-cli. I'm using the Daedalus socket and trying to query the testnet.
When running this command cardano-cli query tip --testnet-magic 1097911063
it returns the following:
cardano-cli: DecoderFailure (LocalStateQuery HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))) Query (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))))) ServerAgency TokQuerying QueryHardFork GetCurrentEra) (DeserialiseFailure 3 "EraIndex: invalid index 4")
However when executing cardano-cli get-tip --testnet-magic 1097911063
it works fine.
What could be causing this? Any thoughts on what I might be missing?