ethresearch / sharding-p2p-poc

Proof of Concept of Ethereum Serenity Peer-to-Peer Layer on libp2p PubSub System
40 stars 19 forks source link

Resolve gx dependency for `go mod` #130

Open mhchia opened 5 years ago

mhchia commented 5 years ago

What is wrong?

Though we have changed to go mod after https://github.com/ethresearch/sharding-p2p-poc/pull/121, we still need to enforce the dependency relationship handled in gx, due to the fact that go-libp2p is still using gx to handle the dependencies.

How can it be fixed?

Have a tool to resolve gx dependencies, by going through the package.json file, mapping the dependencies' ipfs hashes to the git commit hashes, and recording them in go.sum