-
Notifications
You must be signed in to change notification settings - Fork 300
Protobuf messages registration conflicts #106
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
Comments
hi @lukasz-zimnoch , thank you for reporting, |
Thoughts on fixing this by simply removed from |
This PR also fixed the issue. |
Add fix for derive function using with pallas curve
tss-lib
points to thegithub.jpy.wang/golang/protobuf v1.3.2
dependency in thego.mod
file. However, according to Go modules version selection policy all versions of protobuf>= v1.3.2
and< v2
can be picked if present in the module list.This can be a problem because
tss-lib
protobuf messages are registered twice which causes a registration conflict. The first registration occurs in the generated*.pb.go
files and then the second registration is performed inmessages.go
files.Example for the
ecdsa/keygen
package:The
github.com/golang/protobuf v1.3.2
doesn't complain but the newergithub.jpy.wang/golang/protobuf v1.4.0
displays a warning:The text was updated successfully, but these errors were encountered: