Skip to content
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

Fix the chaincode builds #369

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

jkneubuh
Copy link
Contributor

@jkneubuh jkneubuh commented Jan 10, 2023

This PR addresses a regression introduced in grpc-js:1.8.2, pinning the dependency to 1.8.1.

Previously the fabric-shim had a loose dependency on ^1.4.1, which caused errors when the grpc-js runtime was updated with this PR

Signed-off-by: Josh Kneubuhl jkneubuh@us.ibm.com

@jkneubuh jkneubuh requested a review from a team as a code owner January 10, 2023 15:19
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
@jkneubuh jkneubuh changed the title test build - DO NOT MERGE Fix the chaincode builds Jan 10, 2023
@mbwhite mbwhite merged commit 30125f6 into hyperledger:release-2.5 Jan 10, 2023
jkneubuh added a commit to jkneubuh/fabric-chaincode-node that referenced this pull request Jan 11, 2023
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
mbwhite added a commit that referenced this pull request Jan 12, 2023
* Pin fabric-shim's dependency on grpc-js to 1.8.1 (#369)

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>

* Publish multi-arch, arm64 docker image

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>

* Update to use arrow functions

- removed possible issue with stream referring to the correct value, due to difference in scoping between function() and ()=>{}
- ensured that in server mode, the promise was awaited for
- fixed the register message being sent as the wrong type

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
Co-authored-by: Matthew B White <whitemat@uk.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants