Reputation: 1
When using the external chaincode builder in Hyperledger Fabric, it can be confusing to understand the order in which various scripts (build, detect, release, etc.) are executed, and how they fit into the lifecycle of chaincode installation, approval, commit, and execution. Below is a detailed breakdown to help clarify this process.
Summary of the Script and Lifecycle Order External Builder Script Execution:
detect build release run Chaincode Lifecycle Order:
Start the peer with external builder configured. Install the chaincode (detect and build scripts invoked). Approve the chaincode definition. Commit the chaincode definition. Execute chaincode (run script invoked).
Upvotes: 0
Views: 49