Skip to content

Stack overflow in aggregator and signer on release-preprod when decoding a block #3549

Closed

Description

@jpraynaud

Why

Since 2026-09-16, the aggregator and the signers on release-preprod abort with a stack overflow as soon as the Cardano transactions importer polls the chain, and they crash again on every restart: preprod block 5183974 (slot 133883340) contains a transaction with a native script nested 5383 levels deep, and the recursive CBOR decoder of Pallas 1.1.1 exhausts the 2 MiB stack of a tokio worker thread in MultiEraBlock::decode.

What

Ship a 2630.1 hotfix distribution that updates Pallas to 1.3.0, which decodes native scripts (txpipe/pallas#802) and Plutus data (txpipe/pallas#807) without call-stack recursion.

How

  • Update the Pallas crates to 1.3.0 in mithril-cardano-node-chain, mithril-dmq and mithril-end-to-end
  • Verify that preprod block 5183974 decodes on a thread with the default 2 MiB stack
  • Create a hot fix branch
  • Pre-release the 2630.1 distribution
  • Release the 2630.1 distribution
  • Announce the hotfix distribution:
    • Discord
    • Dev blog post

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions