Similar to https://github.com/orbitdb/ipfs-log/issues/124. Here I was less lucky, some tests failed with always the same error, example bellow:
6) orbit-db - Automatic Replication (js-ipfs)
automatic replication exchanges the correct heads:
Uncaught AssertionError [ERR_ASSERTION]: must be a valid cid
+ expected - actual
-false
+true
Thanks @diasdavid for keeping us up to date! 鉂わ笍
Will try to work the new release into OrbitDB asap. Any ideas what the ^ must be a valid cid comes from? PubSub (as mentioned in https://github.com/orbitdb/ipfs-log/issues/124)?
I'm seeing this error here.
I think it may have to do with js-ipfs-block updating to using class-is. When I updated all instances of js-ipfs-block packages to 0.7.1 the error went away for me.
Thanks @kia for looking into this! That may very well be the reason. Would you be willing to make a PR for this in ipfs-log? Feel free to say no and we'll make sure it gets updated and fixed asap.
It doesn't look like orbit-db or ipfs-log has js-ipfs-block in its dependency tree though.
oh - I guess the tests do though right?
My recommendation is to update all deps.
Most helpful comment
My recommendation is to update all deps.