You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've attempted to bump the go-ipld-prime version in the go.mod file to v0.12.0 and found one test failure.
In brief
It appears to be related to stability of order of contents encoded by using dag-cbor. This changed in go-ipld-prime@v0.11.0: the dag-cbor codec now forces map key sorting when encoding. (Some people consider this a regression, and I frankly even agree, but have been out-voted on it.)
I suspect this isn't a major behavioural problem, and doesn't affect any downstreams, but a test failure is a test failure :)
I suspect the correct action to do here is patch the test expectations to just have content which is in the canonical order that dag-cbor will now sort things into.
The text was updated successfully, but these errors were encountered:
I've attempted to bump the
go-ipld-prime
version in the go.mod file tov0.12.0
and found one test failure.In brief
It appears to be related to stability of order of contents encoded by using dag-cbor. This changed in
go-ipld-prime@v0.11.0
: the dag-cbor codec now forces map key sorting when encoding. (Some people consider this a regression, and I frankly even agree, but have been out-voted on it.)I suspect this isn't a major behavioural problem, and doesn't affect any downstreams, but a test failure is a test failure :)
The failure
The fulltext of the test failure is below:
Recommendation
I suspect the correct action to do here is patch the test expectations to just have content which is in the canonical order that dag-cbor will now sort things into.
The text was updated successfully, but these errors were encountered: