Orbit-db: preparations for js-ipfs 0.29.0

Created on 28 May 2018  路  6Comments  路  Source: orbitdb/orbit-db

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

Most helpful comment

My recommendation is to update all deps.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whyrusleeping picture whyrusleeping  路  3Comments

adamski picture adamski  路  5Comments

waotzi picture waotzi  路  7Comments

Clickative picture Clickative  路  5Comments

oskarpyke picture oskarpyke  路  6Comments