Skip to content

DASL Testing: Tier 1 #608

Description

@makew0rld

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 go-ipld-prime. 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

  • The smallest CBOR integer, $-(2^{64})$ or 3bffffffffffffffff is converted to 00 (zero)
  • NaN, Infinity, and negative Infinity can all be encoded, but instead an error should be returned

You can view all the tests in more detail on the DASL testing website: https://hyphacoop.github.io/dasl-testing/

Also, if you have any advice on how to create a generic encoder with this library that would be appreciated. It seems encoding a variable of type any is not possible unless the schema is known in advance. This makes testing more difficult.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right now

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions