Closed meling closed 2 years ago
@meling, updating gorums to the latest version requires code changes in the parts that handle the configuration and unicast calls. I presume these changes are small. I don't see any issues with the plugin update. I had similar issues so I updated protoc-gen-gorums plugin but set gorums dependency to 0.6
The
go.mod
file contains the long-ago deprecated protobuf version:This dependency is used in
client
andreplica
packages. The fix is trivial; the import:should be replaced with:
Currently, we are using Go 1.16. I want to convert from slice to
[32]byte
array without usingcopy
; this is supported in Go 1.17.Finally, my installed
protoc-gen-gorums
is newer than the one used in the existingpb.go
files, preventing me from generating compatible files. Hence, I propose to upgrade both the plugin andrelab/gorums
to latest release version. The necessary changes should be trivial.@Raytar @hanish520 Any reason to hold off from upgrading these dependencies?