Skip to content

Add fast bootstrap of Cardano node with LMDB UTxO-HD verification in CI #2679

@jpraynaud

Description

@jpraynaud

Why

We need to verify in the Mithril Client multi-platform test in the CI that the we can fast bootstrap a Cardano node with a ledger state that has been converted to LMDB flavor with the tools utxo-hd command of the client CLI.

What

Add a new step in the workflow which checks fast bootstrap of an LMDB UTxO-HD ledger state converted with the client CLI.

How

  • Refactor the workflow to separate test of the cardano database v1/v2 download commands from the other commands
  • Update the verify-cardano-db-restoration.sh script to allow to specify usage of a lmdb ledger state (use the CARDANO_CONFIG_JSON_MERGE env variable on the docker run to set the LedgerDB.backend parameter)
  • Add a new matrix that run the conversion to lmdb then run the 'verify Cardano node starts successful' step

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions