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

Feature/integrate with cc tools #779

Open
wants to merge 43 commits into
base: main
Choose a base branch
from

Conversation

osamamagdy
Copy link
Contributor

@osamamagdy osamamagdy commented Oct 11, 2024

What this PR does / why we need it:
This PR adds a tutorial on how to integrate with cc-tools project, specially using the cc-tools-demo project

Which issue(s) this PR fixes:

Fixes the LFX mentorship project Hyperledger Fabric CC-Tools Support for Fabric Private Chaincode

Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
@osamamagdy osamamagdy marked this pull request as ready for review October 11, 2024 11:21
@osamamagdy osamamagdy requested a review from a team as a code owner October 11, 2024 11:21
Signed-off-by: osamamagdy <[email protected]>
@osamamagdy osamamagdy force-pushed the feature/integrate-with-cc-tools branch from 39d2366 to a064eb0 Compare October 11, 2024 11:31
Signed-off-by: osamamagdy <[email protected]>
Copy link
Contributor

@munapower munapower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to follow but wasn't able to compile the changes for main.go

samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@mbrandenburger mbrandenburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @osamamagdy this is pretty cool! Let's shape it a bit more!

go.mod Outdated Show resolved Hide resolved
commands.sh Outdated Show resolved Hide resolved
ecc_go/chaincode/enclave_go/shim.go Outdated Show resolved Hide resolved
ecc_go/chaincode/enclave_go/shim.go Outdated Show resolved Hide resolved
ecc_go/chaincode/enclave_go/shim.go Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Show resolved Hide resolved
@osamamagdy osamamagdy force-pushed the feature/integrate-with-cc-tools branch from 92e4665 to 1ec09a9 Compare October 15, 2024 23:08
@osamamagdy osamamagdy force-pushed the feature/integrate-with-cc-tools branch from 87db6e1 to ae668f1 Compare October 22, 2024 00:01
Signed-off-by: Osama Magdy <[email protected]>
@osamamagdy osamamagdy force-pushed the feature/integrate-with-cc-tools branch from 9eab2e5 to 9c485b8 Compare November 14, 2024 13:44
Signed-off-by: osamamagdy <[email protected]>
ecc_go/ccToolsDemoEnclave.json Outdated Show resolved Hide resolved
samples/chaincode/cc-tools-demo/README.md Outdated Show resolved Hide resolved
Signed-off-by: osamamagdy <[email protected]>
Copy link
Contributor

@mbrandenburger mbrandenburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks pretty good to me! My only remaining concern is about the readme instructions where sudo is used. As commented, I believe it not necessary for every developer ... and I think it is not good practise to let people run sudo commands when following this tutorial.

Signed-off-by: osamamagdy <[email protected]>
osamamagdy and others added 2 commits November 29, 2024 17:09
Co-authored-by: Marcus Brandenburger <[email protected]>
Signed-off-by: Osama Magdy <[email protected]>
Co-authored-by: Marcus Brandenburger <[email protected]>
Signed-off-by: Osama Magdy <[email protected]>
Signed-off-by: osamamagdy <[email protected]>
@osamamagdy osamamagdy force-pushed the feature/integrate-with-cc-tools branch from a99d1d0 to 2e80ab2 Compare November 29, 2024 19:53
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.

4 participants