Closed AngelCastilloB closed 2 months ago
This PR fixes properly the CBOR encoding of Plutus Lists (see https://github.com/input-output-hk/cardano-js-sdk/pull/1319#issuecomment-2151584168 for context)
Plutus List will be encoded as an empty array 80 when the list is empty, and as an indefinite length array when there are one or more elements.
80
dev-preview@us-east-1
dev-preprod@us-east-1@v2
dev-mainnet@us-east-1
Context
This PR fixes properly the CBOR encoding of Plutus Lists (see https://github.com/input-output-hk/cardano-js-sdk/pull/1319#issuecomment-2151584168 for context)
Proposed Solution
Plutus List will be encoded as an empty array
80
when the list is empty, and as an indefinite length array when there are one or more elements.