IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.06k stars 722 forks source link

[BUG] - DecoderFailure of burning token TX #5898

Open jonathangenlambda opened 2 months ago

jonathangenlambda commented 2 months ago

External

Area Tx submission

Summary In our system we construct a burning TX using Cardano Serialisation Lib (CSL) on a browser frontend and then send it serialised as CBOR to our backend where we deserialise it, do some validation and then submit it to our local node. This has been working perfectly fine for a long time now, but recently we ran into very strange DecoderFailure errors with 2 such burning TXs, when we submitted them:

DecoderFailure (LocalTxSubmission (GenTx (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (TPraos StandardCrypto) (AllegraEra StandardCrypto)) (': * (ShelleyBlock (TPraos StandardCrypto) (MaryEra StandardCrypto)) (': * (ShelleyBlock (TPraos StandardCrypto) (AlonzoEra StandardCrypto)) (': * (ShelleyBlock (Praos StandardCrypto) (BabbageEra StandardCrypto)) (': * (ShelleyBlock (Praos StandardCrypto) (ConwayEra StandardCrypto)) ('[] *)))))))))) (HardForkApplyTxErr (': * ByronBlock (': * (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (TPraos StandardCrypto) (AllegraEra StandardCrypto)) (': * (ShelleyBlock (TPraos StandardCrypto) (MaryEra StandardCrypto)) (': * (ShelleyBlock (TPraos StandardCrypto) (AlonzoEra StandardCrypto)) (': * (ShelleyBlock (Praos StandardCrypto) (BabbageEra StandardCrypto)) (': * (ShelleyBlock (Praos StandardCrypto) (ConwayEra StandardCrypto)) ('[] *)))))))))) ServerAgency TokBusy) (DeserialiseFailure 191 \"expected word\")"

We are using CSL 11.5.0 and Cardano Node 8.9.1 with cardano-api 8.39.3.0.

We decoded the TXs both with cardano-cli as well as CSL but we could not find anything suspicious - we have the CBORs of the 2 TXs attached. 3c6def41927725728b20a13dcd9b195c4e8adc45e656eb7d31c1f91220ef1d45_cbor.txt b373fc4e57ef514e5169fcc3709d25b26713b7f2e87136d2bdb856d487d5ade4_cbor.txt

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

carbolymer commented 1 month ago

Is this issue still happening with latest node and cardano-api?

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.