Conversation
234daa4 to
bed74a7
Compare
Jimbo4350
left a comment
There was a problem hiding this comment.
You are weakening the unit_canonicalise_cbor property test. Why not leave it as it is and just add your prop_canonicalise_cbor property?
|
@Jimbo4350 correct. That's because the test felt too complicated to understand and debug. Now that part of the code is covered by |
We are losing ease of debuggability. Removing Your new property will fail and only render the value that failed: I agree it's not easy to read but it can be cleaned up. |
Changelog
Context
This PR reverts partially changes made to the test in: https://github.com/IntersectMBO/cardano-api/pull/1047/files
It also adds a property test, which recursively validates canonicalisation of CBOR accordingly to CIP-21.
Checklist