-
Notifications
You must be signed in to change notification settings - Fork 120
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
Migrate from grpc to grpc-js. #2936
Conversation
I've converted this to a draft because it should not be merged right now.
|
Epic, thank you! |
@matheusd @jholdstock did the needed changes in dcrlnd happen? Was hoping to get this in soon so we could include in the upcoming patch release |
Not merged yet decred/dcrlnd#122 |
- Change app dependency from `"grpc"` to `"@grpc-js"`. - Regenerate all proto files with `generate_package_definition` flag. - Remove unused files `annotations_pb.js` and `http_pb.js`, and don't regenerate them `regen.sh`. - In the `regen.sh` for LN protos, use protoc installed locally in node_modules rather than one provided by the system.
Rebased and bumped |
I hadn't merged the dcrlnd one because we weren't going to merge this for 1.6, but since that's now released I'll merge the dcrlnd change |
Ah great thanks. Aiming to add this to the 1.6.1 patch release I think. |
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.
Tested with the current master dcrlnd
"grpc"
to"@grpc-js"
.generate_package_definition
flag.annotations_pb.js
andhttp_pb.js
, and don't regenerate themregen.sh
.regen.sh
for LN protos, use protoc installed locally in node_modules rather than one provided by the system.Some nice stats...
yarn
timeyarn package
timedecrediton-v1.6.0.tar.gz
size