-
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
Support invoke command #390
Comments
The second step for this command after #403 is to ensure we have consistent API - the same as for chaincode list #406 and we use generators to make it work with custom network topologies. Checklist for the second step:
Suggested implementation for
|
This was referenced Sep 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now we have a buch of test scripts to verify if invoking chaincodes work (
e2e-network/expect-invoke-cli.sh
and similar). For the simplest Docker setup it is handled by executing some operations on the CLI container:We want invoke command to be supported by Fablo, with the syntax similar to our channel query scripts. Within this issue we want to support invoke command for the simplest use case: no TLS, Docker setup, and using CLI container. Relevant script is
expect-invoke-cli.sh
. After this issue, the script, instead of invoking docker, should call(some path)/fablo.sh chaincode invoke (some params)
.Probably the best way to implement this is to follow the similar approach as for channel query scripts - using templates and strong validation.
Desired syntax:
Sample:
No need for additional tests. In order to verify the code works we just want to replace the content of
expect-invoke-cli.sh
script.This issue, however includes upgrade of README.
Further steps:
The text was updated successfully, but these errors were encountered: