Skip to content

CID equality #208

Closed
Closed
@achingbrain

Description

@achingbrain

We compare CIDs in our tests in lots (and lots) of places. E.g:

assert.deepEqual(cid1, cid2)

With v10 these checks have started failing where one of these CIDs has been read out of a byte array and does not occupy the entire byte array because of the now enumerable byteOffset property, for example here, blocking ipld/js-dag-pb#59.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions