-
Notifications
You must be signed in to change notification settings - Fork 48
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
poolrpc: convert poolrpc into a go module #487
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.
Thanks for the PR.
go.mod
Outdated
google.golang.org/grpc v1.59.0 | ||
google.golang.org/protobuf v1.33.0 | ||
golang.org/x/sync v0.8.0 | ||
google.golang.org/grpc v1.64.1 |
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.
Same question here re the version we choose for google.golang.org/grpc
and google.golang.org/protobuf
. IMO they should be the same for all projects, as we've had issues with mismatches and updates to new versions before...
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.
Given that frdrpc
depends on GRPC v1.65.0 and protobuf v1.34.2 I bumped to those versions. Also added a new forked hex display (see here: lightninglabs/protobuf-go-hex-display#3). PTAL
a6c5184
to
c1cf809
Compare
@guggero: review reminder |
c1cf809
to
462423d
Compare
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.
One comment around a local replace directive. Otherwise LGTM 🎉
462423d
to
0382f97
Compare
This commit transforms the
poolrpc
subpackage into a versioned module. By doing so, projects that rely solely on the generated RPC code from the proto files will benefit from significantly reduced dependencies during compilation.Pull Request Checklist
used.