-
Notifications
You must be signed in to change notification settings - Fork 373
CPS-???? | Canonical CBOR Serialization Standard #1109
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
base: master
Are you sure you want to change the base?
CPS-???? | Canonical CBOR Serialization Standard #1109
Conversation
|
Thank you for drafting a CPS about this. You're right, a lack of canonical encoding has definitely been frustrating for many of us Cardano developers, especially those of us working on alternative node implementations (I can speak to my experience working on Amaru primarily). I have only done a quick skim of the content so I won't comment on the particulars in the CPS here right now, but hopefully I will have more time later to sit down and reread it carefully. But, to give some context: Sundae Labs has started work on a conformance testing suite which currently uses the Tweag has received treasury funding to work on exactly that actually, and they have a draft PR open already: #1083 (cc: @nc6 and @qnikst) |
CPS-????/README.md
Outdated
| --- | ||
| CPS: ? | ||
| Title: Canonical CBOR Serialization Standard | ||
| Category: Tools, Wallets, Ledger |
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.
@HinsonSIDAN it's not too early to decide on a single category that you think represents the ecosystem sector where the most work would need to be done to cover this problem statement.
If don't think that possible, or would like to promote the idea of multiple categories in CIPs and CPSs, you could read this recent comment:
and contribute your experience & professional opinion here, if you feel multiple categories would be better than single choices, and also if any other conservatively chosen additional tags could provide good coverage of what CIPs and CPSs are really about:
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.
I have chosen the Tools category for now. Thanks for reminding that
rphair
left a comment
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.
@HinsonSIDAN now that this is marked "Ready for Review" we'll add it as Triage which puts it on the agenda for our next CIP meeting (https://hackmd.io/@cip-editors/123).
In the meantime I think it'll be useful to get some co-review with this current CIP candidate (cc @qnikst @lehins @nc6 @Ryun1 @Crypto2099):
This CPS emerged from community feedback at events like Cardano Builder Fest 2025, where developers identified CBOR serialization fragmentation as a critical pain point hindering ecosystem maturity.
This CPS addresses the growing interoperability challenges caused by non-deterministic CBOR serialization across Cardano's tooling ecosystem. The same logical transaction or script can be encoded in multiple valid ways, leading to different hashes and breaking multi-signature workflows, cross-tool transaction building, and script reference consistency.
Ideally we can establish a canonical CBOR serialization standard that would be adopted across major libraries and wallets, ensuring predictable behavior and reducing the development friction that currently exists when working across different tools.
(rendered latest document)