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: node_version check for the fabric-shim #442

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

Sanket-0510
Copy link
Contributor

@Sanket-0510 Sanket-0510 commented Apr 10, 2024

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

@Sanket-0510
Copy link
Contributor Author

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

@Hejwo
Copy link
Contributor

Hejwo commented May 7, 2024

Please add DCO signoff
image

@Sanket-0510
Copy link
Contributor Author

Sanket-0510 commented May 7, 2024

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.

@dzikowski
Copy link
Contributor

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]>
Signed-off-by: Sanket Teli <[email protected]>
Signed-off-by: Sanket Teli <[email protected]>
@dzikowski dzikowski enabled auto-merge September 10, 2024 12:59
@dzikowski dzikowski merged commit e26f374 into hyperledger-labs:main Sep 10, 2024
6 checks passed
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.

Fablo fails with jq error when no fabric-shim dep is provided in package.json
3 participants