-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove IPFS code #523
Remove IPFS code #523
Conversation
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.
Looks good to me!
Also, I think we can go even further and remove mentions of IPLD/IPFS entirely from this repo. The only DA thing required in Core is an ability to verify erasure coding during consensus and for this, we can omit IPLD usage, specifically, NMTNodeAdder, as it's needed only to store, provide, and serve shares. Luckily, we don't need those functions in Core and only calculations. So the end EDS calculation could look like this(but without adder).
@@ -16,50 +16,24 @@ require ( | |||
github.com/gogo/protobuf v1.3.2 | |||
github.com/golang/protobuf v1.5.2 | |||
github.com/google/btree v1.0.0 | |||
github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f // indirect |
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.
?
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 module is necessary because github.com/gopherjs/gopherjs/js is imported in:
- github.com/celestiaorg/celestia-core/cmd/tendermint/commands
-- github.com/spf13/viper
--- gopkg.in/ini.v1
---- gopkg.in/ini.v1.test
----- github.com/smartystreets/goconvey/convey
------ github.com/jtolds/gls
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect | ||
github.com/pkg/errors v0.9.1 | ||
github.com/prometheus/client_golang v1.11.0 | ||
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 | ||
github.com/rs/cors v1.8.0 | ||
github.com/sasha-s/go-deadlock v0.2.0 | ||
github.com/smartystreets/assertions v1.0.1 // indirect |
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.
?
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 module is necessary because github.com/smartystreets/assertions is imported in:
- github.com/celestiaorg/celestia-core/cmd/tendermint/commands
-- github.com/spf13/viper
--- gopkg.in/ini.v1
---- gopkg.in/ini.v1.test
----- github.com/smartystreets/goconvey/convey
perhaps a different version of viper doesn't have these
just saw this went through, will complete teh update to tm 0.35 |
Description
removes the IPFS and IPLD packages completely to avoid importing our fork of IPFS. Notably keeps the nmt plugin.
part of #506