-
Notifications
You must be signed in to change notification settings - Fork 71
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: node_version check for the fabric-shim #442
Conversation
src/setup-docker/templates/fabric-docker/scripts/chaincode-functions-v2.sh
Outdated
Show resolved
Hide resolved
Hey @dzikowski sorry for not responding for last 2 weeks my exams were going on meanwhile. I have done the changes. I hope this will do the job |
src/setup-docker/templates/fabric-docker/scripts/chaincode-functions-v2.sh
Outdated
Show resolved
Hide resolved
src/setup-docker/templates/fabric-docker/scripts/chaincode-functions-v2.sh
Outdated
Show resolved
Hide resolved
e2e/__snapshots__/fablo-config-hlf1.3-2orgs-1chaincode-private-data.json.test.ts.snap
Outdated
Show resolved
Hide resolved
hey @dzikowski I think there's some issue with private data test it fails everytime I hope this is the relevant issue for it - #396 . let me know I'll try to fix it. |
Yes, that's the relevant issue. Feel free to start, thanks! A simple removal of the check and the sh script is enough for the first PR. Update test-02 to contain private data chcecks should be performed separately |
…the versions for fabric shim Signed-off-by: Sanket <[email protected]> added the snapshots Signed-off-by: Sanket <[email protected]> suggest recommended node Signed-off-by: Sanket <[email protected]> reafactored the code to avoid the breaking due to import of v1.4 added the snapshots fixed the function, now it is returning the proper required version Signed-off-by: Sanket Teli <[email protected]> Update src/setup-docker/templates/fabric-docker/scripts/chaincode-functions-v2.sh Co-authored-by: Jakub Dzikowski <[email protected]> Signed-off-by: Sanket Teli <[email protected]> changes the directory location Signed-off-by: Sanket Teli <[email protected]> added snapshots Signed-off-by: Sanket Teli <[email protected]>
2ce9502
to
08e6a29
Compare
Signed-off-by: Sanket Teli <[email protected]>
Signed-off-by: Sanket Teli <[email protected]>
fixes: #325
I have refactored the code so that it will resolve the issue #325, now we will be checking fabric version in
node_modules/fabric-shim/package.json
instead of./package.json
also it will recommend the correct updated node_version for the fabric-shim