答复: [Hyperledger Fabric] example of system plugin not work
You should build with “pluginsenabled” from source code, since the official image isn’t built with this switch on.
Please refer to https://jira.hyperledger.org/browse/FAB-7710
发件人: fabric@... [mailto:fabric@...]
Has anyone deployed the official system plugin example under fabric 1.4 source codes folder(github.com/hyperledger/fabric/examples/plugins/scc) successfully?
I built the system chaincode plugin (by go build -buildmode=plugin) successfully and config peer node configuration core.yaml according to official guide as below.
But the system chaincode plugin is not loaded during peer startup.
Plugins are configured in the chaincode.systemPlugin section in core.yaml:
- enabled: true
A system chaincode must also be whitelisted in the chaincode.system section in core.yaml: