cardano-client-lib
cardano-client-lib copied to clipboard
Wrong Data <=> CBOR encoding/decoding
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