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

Instantiate hashing with trivial unit when generating traces

Open dnadales opened this issue 6 years ago • 0 comments

Besides degrading tests performance, using a concrete hashing function will not give us freedom to shrink CHAIN traces.

We should instantiate the CHAIN traces to use a trivial hash, so that we can shrink (by removing blocks or changing their contents) without the hashing becoming invalid.

dnadales avatar Aug 07 '19 10:08 dnadales