Hyperledger fabric 由于缺少escc,Fabric v1.2.0的链码实例化失败

Hyperledger fabric 由于缺少escc,Fabric v1.2.0的链码实例化失败,hyperledger-fabric,Hyperledger Fabric,安装程序在Fabric 1.1.0中运行良好 当我尝试升级到Fabric 1.2.0时,在链码实例化过程中出现以下错误,即“未找到escc” [golang-platform] GenerateDockerBuild -> INFO 072 building chaincode with ldflagsOpt: '-ldflags "-linkmode external -extldflags '-static'"' 2018-08-09 20:00:31.815 UTC [golang-

安装程序在Fabric 1.1.0中运行良好 当我尝试升级到Fabric 1.2.0时,在链码实例化过程中出现以下错误,即“未找到escc”

[golang-platform] GenerateDockerBuild -> INFO 072 building chaincode with ldflagsOpt: '-ldflags "-linkmode external -extldflags '-static'"'
2018-08-09 20:00:31.815 UTC [golang-platform] GenerateDockerBuild -> INFO 073 building chaincode with tags: 
2018-08-09 20:01:01.188 UTC [endorser] EndorseWithPlugin -> WARN 074 Endorsement with plugin for {plugin: escc, channel: channel3, tx: 01427f701088a8e8cdfe2b543892af33d4012a661474f88670c8e2739717062f, chaincode: lscc}  failed: plugin with name escc wasn't found
我的Fabric peer设置不是基于docker映像,但我自己使用git clone and build(git reset--hard v1.2.0;make peer…)安装了Fabric。它是新安装的Ubuntu Linux 16.04。 没有更改任何设置。
有什么想法吗?

您需要确保您的文件也更新到v1.2

这就是解决方案。core.yaml v1.2有许多新条目。它现在可以工作了。谢谢。您可以按我评论左侧的向上箭头吗?:)