I generated the payment keys and before going to the faucet section I try to see the address balance with:
cardano-cli query utxo
–allegra-era
–address $(cat payment.addr)
–testnet-magic 1097911063
I get this:
Shelley command failed: query utxo Error: A query from a certain era was applied to a ledger from a different era: EraMismatch {ledgerEraName = “Byron”, otherEraName = “Allegra”}
I already tried the solutions in this topic , but did not work.
Any Idea what the problem is.
Thanks a lot in advance.
broby
You need to wait for your sync on node to finish (you can run cardano-cli query tip ... to check, your node is currently (at the time of your error) has synched only until Byron era, and will gradually transition to allegra. You should only start querying utxo at a point where your node is in sync.
when trying to query the utxo im getting the error: Shelley command failed: query utxo Error: A query from a certain era was applied to a ledger from a different era: EraMismatch {ledgerEraName = "Shelley", otherEraName = "Allegra"}
Which means a progress, Byron era finished, and im in the shelley era. But I gotta say, its taking very long.