Skip to content

Add verification of a tampered Cardano database in the CI #2678

@jpraynaud

Description

@jpraynaud

Why

We need to verify in the Mithril Client multi-platform test in the CI that the new verify command of the client CLI properly detects missinga and tampered files in a Cardana database.

What

Add a new step in the workflow which tampers a Cardano database, run the verify command and makes sure that it detects all the anomalies.

How

  • Add a new step after the successful restoration of a Cardano database (only Linux x86 and Docker)
  • In this step, remove some immutable files and tamper some other immutable files (always the same files)
  • Then run the verify command on a range which does not include all the removed/tampered files
  • Check that the output of the verify command is contains the proper removed/tampered files of the range

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions