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] Support multi-smart-contract chaincodes #31

Open
ghareeb-falazi opened this issue Feb 24, 2023 · 1 comment
Open

[FEATURE] Support multi-smart-contract chaincodes #31

ghareeb-falazi opened this issue Feb 24, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ghareeb-falazi
Copy link

Allow debugging chaincodes that contain more than one smart contract. Specifically, allow determining which smart contract to invoke in the .fabric file (not only the method and the arguments).

@ashwath-spdr
Copy link
Contributor

Thanks @ghareeb-falazi for the feedback. Will add this to the backlog for next release to add another parameter in the .fabric file where the Smart Contract name can be specified. Meanwhile, in the current version also, if you prepend the method name with "smartcontractname:", it should work.

For e.g. in the sample https://github.com/hyperledger/fabric-samples/blob/main/asset-transfer-ledger-queries/chaincode-go/asset_transfer_ledger_chaincode.go, using the function name as "SimpleChaincode:ReadAsset" should work.

@ashwath-spdr ashwath-spdr added the enhancement New feature or request label Mar 12, 2023
@ashwath-spdr ashwath-spdr self-assigned this Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants