cardano-ledger icon indicating copy to clipboard operation
cardano-ledger copied to clipboard

Make `TreeDiff` utilities available in `cardano-ledger-binary`

Open Soupstraw opened this issue 2 months ago • 1 comments

Currently the test logs from the tests in cardano-ledger-binary are really hard to read. I think many of them could be improved with tree-diff, but our testing utilities for tree-diff are defined in cardano-ledger-core, which can't be a dependency of cardano-ledger-binary. Perhaps it would make sense to create a new package called cardano-ledger-test-utils that all the other testlibs can depend on.

Soupstraw avatar Oct 27 '25 12:10 Soupstraw

I think it will be better to create a sublibrary in cardano-base package that we recently added. So, others can benefit from our testing utils as well.

It's ok to keep this ticket here for now.

lehins avatar Oct 29 '25 03:10 lehins