-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: plutus list now serializes using the correct encoding depending on its size #1322
Conversation
|
80d736f
to
3785092
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you @AngelCastilloB
Context
This PR fixes properly the CBOR encoding of Plutus Lists (see #1319 (comment) 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.