pallas icon indicating copy to clipboard operation
pallas copied to clipboard

Wrong BigInt serialization of Plutus Data

Open nau opened this issue 1 year ago • 0 comments

Plutus BigInteger, when (de)serialized from unbounded byte arrays, it checks that the byte array is chunked in less than 64 bytes.

decodeBoundedBytes

It should be here: https://github.com/txpipe/pallas/blob/51a81241d37e75ee13ff87d83207e62769bab683/pallas-primitives/src/alonzo/model.rs#L1047

Same for encoding.

nau avatar May 22 '24 12:05 nau