-
Notifications
You must be signed in to change notification settings - Fork 37
Conversation
The security failure is from a dep of aegir in the various ipld resolvers -- will bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add an extra test that adds the block through the block-service
and fetches it with the resolver?
test/ipld-eth-star.js
Outdated
const expect = require('chai').expect | ||
const rlp = require('rlp') | ||
const BlockService = require('ipfs-block-service') | ||
const cidForHash = require('ipld-eth-block/src/common').cidForHash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an anti-pattern, let's make avoid using paths and dots in conjunction. (preferably just dots)
Also, seems that cidForHash is used to calculate all the CIDs, can we have this as a module on npm eth-hash-to-cid
, ideally even exports a CLI so that it is super easy to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
replaces #71