Trying to change some params in pool cert and while signing transaction on cold machine this is what i get. What I am doing wrong here ?
Command failed: transaction sign Error: tx.raw: TextEnvelope type error: Expected one of: TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo Actual: Unwitnessed Tx BabbageEra
Did you update the software on your airgap machine?
It looks like it doesn’t know about Babbage (which is the internal name of the Vasil hard fork from last summer). Which would mean the
cardano-cli on there is really old?
This happens with
cardano-cli built from
1.35.5 sources, nothing really old.
Command failed: transaction calculate-min-fee Error: Failed to decode neither the cli's serialisation format nor the ledger's CDDL serialisation format. TextEnvelope error: /dev/fd/63: TextEnvelope type error: Expected one of: TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo, TxBodyBabbage Actual: Unwitnessed Tx BabbageEra
TextEnvelopeCddl error: /dev/fd/63: Could not JSON decode TextEnvelopeCddl file at: /dev/fd/63 Error: Error in $: not enough input
The troublesome input comes from
cardano-cli transaction build-raw ... and looks like this:
"type": "Unwitnessed Tx BabbageEra",
"description": "Ledger Cddl Format",
This started happening quite recently; it definitely wasn’t an issue at the beginning of February.
$ cardano-cli --version
cardano-cli 1.35.5 - linux-x86_64 - ghc-8.10
git rev ce7e58e8de00f25bb79e039a8ffe19d73aa9dab8
cardano-cli is up to date on AirGap machine.
Are you saying you have same problem ?
Yes. Plus there are numerous seemingly related bugs, mostly closed. No idea what’s happening.
I solved this. My libsecp256k1 were not up to date on airgap machine, and also i had some nfts in my pool address which were miscalculating things and i could not send trx. All good now.