-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello,
I work on DASL Testing, a project funded by IPFS to test dag-cbor libraries.
I'm filing this issue to report on "Tier 1" bugs we've discovered in serde_ipld_dagcbor. More information is available here.
Please feel free to use this issue for tracking bug fixes, asking me questions, or anything else that's helpful.
Bugs
- Maps with integer keys can be encoded
- Maps with integer keys are decoded without error (ex: hex
a10000becomes{"": 0}) - Big nums are encoded (ex:
c249010000000000000000) - Trying to encode tagged objects (that are not CIDs) will not raise an error
- Ex:
c07819323032352d30352d32365431363a31383a31372d30343a3030(view) - I am decoding this with ciborium and holding it in a Value
- Encoding output from serde_ipld_dagcbor:
a16a4040544147474544404082007819323032352d30352d32365431363a31383a31372d30343a3030(view) - Let me know if this bug is not relevant as I'm not that familiar with Rust
- Ex:
You can view all the tests in more detail on the DASL testing website: https://hyphacoop.github.io/dasl-testing/
Metadata
Metadata
Assignees
Labels
No labels