Skip to content

Error syncing from upstream relay in debug mode on preview #775

@caike

Description

@caike

Running dolos sync on debug mode against an upstream relay on preview testnet fails upon reaching a transaction with a missing total_collateral on Babbage.

thread '<unnamed>' panicked at crates/cardano/src/roll/epochs.rs:210:5:
assertion failed: tx.era() == Era::Alonzo

This is the transaction in question:

https://preview.cardanoscan.io/transaction/04057dc3b4423c3ead0f4fd4f99a426ec86bbde33f7f2e2e9843faa5dfbd6bb5

and its corresponding CBOR

84a60081825820a762fc14210f58f95a3627bfd271939e410f72c7a3850644f5e549c639d2998c000181825839000416e52b5f0c9714b6212d409cc2b7ae3f412766eaa03a7e25898977740280595a48662ef639978be185323ac4254fac368b211eb62d2f261a001bd8e3021a0002ab9d0b5820fd3f817cd6770888154a18babb9cf0c9bf7d5ea005150e2251df57bb189e57fa0d81825820dcb75c210433ca1c5ca7e7548b7c7c9c1b5423782e63c3682cb2aa902f6d7445000f00a4008182582016d2fce8a302c52033a4d3c817c3772297f9ec1b8cfbd2586103021f6bd19e4358403634254c6e6eecfcbd132cfb9fbdd7f3dc9a22f392efb799b38d889a680e1a257ffce0cc626090fcb8c23b20ec893e756fa539b3b0dcf15bf17a0ef3a2560b070381581e581c01000033223232222350040071235002353003001498498480048005049fd87980ff0581840000d87980820000f4f6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions