Unwitnessed Tx BabbageEra while signing transaction?

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

1 Like

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?

1 Like

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",
    "cborHex": "84a500848258202c96a7751e99e9b440ba11b402d6a58874f41f2b43ed7a956faef766703a5e24008258205fe9273fded8a7e2de812a31e70938a97705cff1290fe86e513c6e5ba1b4d8f9008258206a2ab11ba3c1706e6bd863b8db041b0e3cf3cd6cee14450b879d3e456e1b492e008258206d4f4d16fd305d769935e87023eeccfefaf8fe2b853e64ed7a30a132c65a4a48000181a200583901cbfe4b3ea4317e9e604327fc6886d2203047383986e148b386ffe98466ade0be9544b48b9a949ee8460860f945da293d030bf918d0a7ad0501000200031a0516e071048182008200581c66ade0be9544b48b9a949ee8460860f945da293d030bf918d0a7ad05a0f5f6"
}

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.

1 Like

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.