cardano-client-lib icon indicating copy to clipboard operation
cardano-client-lib copied to clipboard

Wrong Data <=> CBOR encoding/decoding

Open nau opened this issue 9 months ago • 0 comments

In Cardano Plutus ALL bytestring MUST be chunked up to 64 bytes. This includes Plutus Data ByteString AND BigInteger represented as byte strings.

So default CBOR encodings are incorrect and can not be used.

Instead, we all MUST implement custom byte string handling, especially for BigIntegers like here: decodeBoundedBigInteger

nau avatar May 22 '24 16:05 nau