hyperledger-fabric - 由于缺少 escc,Fabric v1.2.0 的链码实例化失败
问题描述
安装程序在 Fabric 1.1.0 上运行良好当我尝试升级到 Fabric 1.2.0 时,在链码实例化过程中出现以下错误,提示“找不到 escc”</p>
[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 和 build 安装了 fabric(git reset --hard v1.2.0; make peer ...)。它是全新安装的 Ubuntu Linux 16.04。没有改变任何设置。有任何想法吗?
解决方案
您需要确保您的core.yaml文件也更新到 v1.2
推荐阅读
- excel - 如果单元格具有可以在另一张表中找到的相同值,则在单元格中写入随机值
- html - 如何在没有javascript的选择框选项中选择时显示和隐藏文本
- erlang - 在 Elixir 中比较地图的方法
- javascript - 通过ajax获取多个同名变量
- java - resteasy 中方法 getPathParameters 和 getQueryParameters 的替代品是什么?
- javascript - 如何检查一个数字是否是javascript中的浮点数?
- php - Laravel 偶尔会抛出“Conncetion denied”错误
- javascript - jQuery 滚动进度条固定并随滚动条移动
- xamarin - 如何在 Xamarin 模拟器中访问麦克风
- angular - 尝试创建模板驱动表单时出错