-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax grpc-js version constraint in fabric-shim (#437)
When different versions of @grpc/grpc-js are resolved in the dependency tree, the following error in the chaincode can prevent the chaincode container from starting: TypeError: Channel credentials must be a ChannelCredentials object This is typically caused by a mismatch between the versions of @grpc/grpc-js specified by fabric-shim and @hyperledger/fabric-protos. Provided the version constraints are loose enough to allow a single version to satisfy both dependencies, the mismatch can be avoided by deduping dependencies in a consuming chaincode. This change relaxes the @grpc/grpc-js version constraint in fabric-shim to allow compatibility with any newer minor release version specified by @hyperledger/fabric-protos. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
- Loading branch information
1 parent
2fc48af
commit e36d81e
Showing
4 changed files
with
103 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters