dcSpark / cardano-multiplatform-lib

Rust implementation of Cardano
MIT License
99 stars 36 forks source link

Carp issue parsing script ref #362

Open SebastienGllmt opened 2 months ago

SebastienGllmt commented 2 months ago

Somebody posted a CML error they got through Carp v3.3.0. Not sure if this looks familiar. I haven't tried to reproduce it myself

can't decode shelley output payload: Deserialization failed in TransactionOutput.ConwayFormatTxOut.script_reference.Script.Script because: No variant matched.

Failures:
    Deserialization failed in Native.script.NativeScript.NativeScript because: No variant matched. Failures:
        Deserialization failed in ScriptPubkey.ScriptPubkey.tag because: Expected fixed value 0 found 3
        Deserialization failed in ScriptAll.ScriptAll.tag because: Expected fixed value 1 found 3
        Deserialization failed in ScriptAny.ScriptAny.tag because: Expected fixed value 2 found 3
        Deserialization failed in ScriptNOfK because: Definite length mismatch: found 2
        Deserialization failed in ScriptInvalidBefore.ScriptInvalidBefore.tag because: Expected fixed value 4 found 3
        Deserialization failed in ScriptInvalidHereafter.ScriptInvalidHereafter.tag because: Expected fixed value 5 found 3

    Deserialization failed in PlutusV1.tag because: Expected fixed value 1 found 0
    Deserialization failed in PlutusV2.tag because: Expected fixed value 2 found 0
    Deserialization failed in PlutusV3.tag because: Expected fixed value 3 found 0
rooooooooob commented 2 months ago

Is there any CBOR? Or block hash / which network it's from?

SebastienGllmt commented 2 months ago

No, I've asked the person who initially reported this for this information, but not sure if they will provide it. I created this issue anyway in case it comes up again or they answer

tdedgx commented 2 months ago

Its on mainnet, this block: block #10784385 (c5ad1622c17f7ca50dd92538c1711ec6c06a3e4f2ed46cf14fefb2dea50a36ff) slot: (133725377), epoch: (Some(507))

tdedgx commented 2 months ago

This class: panicked at indexer/tasks/src/multiera/multiera_asset_utxo.rs:25:1: