go-orbit-db
go-orbit-db copied to clipboard
go get error
go get -u berty.tech/go-orbit-db
# github.com/libp2p/go-libp2p-core/crypto
/opt/lib/go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:36:36: too many arguments in call to btcec.NewPrivateKey
/opt/lib/go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:62:51: too many arguments in call to btcec.PrivKeyFromBytes
/opt/lib/go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:72:36: too many arguments in call to btcec.ParsePubKey
/opt/lib/go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:124:37: (*btcec.PrivateKey)(k).Sign undefined (type *secp256k1.PrivateKey has no field or method Sign)
/opt/lib/go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:182:20: undefined: btcec.ParseDERSignature
# github.com/ipfs/go-ipfs-blockstore
/opt/lib/go/src/github.com/ipfs/go-ipfs-blockstore/bloom_cache.go:159:13: log.EventBegin undefined (type *log.ZapEventLogger has no field or method EventBegin)
The different versions of your dependencies don't work with each other. With go-orbit-db you need to be very picky in regard of those. Check one of my project's go.mod, to see what I mean. Also check this PR draft, where I'm updating deps to a newer version.
It's a bummer the go-orbit-db team is not supportive here at all.
hello, sorry for the delay, it is also very difficult for us to keep and update all libp2p dependencies across our projects, we try to get as close as possible to the go.mod
of go-ipfs.
If you use different libp2p/ipfs dependencies in your projects that use a different version, this can raise this kind of error, and you have to manually choose the right version.
Hello @diyism. The go.mod
file was recently updated for the bump to IPFS 12.2 . Are you still having an issue with go get
?
Hello @diyism. The
go.mod
file was recently updated for the bump to IPFS 12.2 . Are you still having an issue withgo get
?
If there are no more comments in 14 days, this issue will be closed as no longer relevant after recent updates to go.mod
. Thank you.
Everything is ok now, closed this issue.