当前位置:网站首页>hyperbench:plugin.Open(“./fabric“): plugin was built with a different version of package golang.
hyperbench:plugin.Open(“./fabric“): plugin was built with a different version of package golang.
2022-07-29 14:00:00 【keep_top】
hyperbeach的问题:
[blockchain][ERROR] 00:33:34.633 blockchain.go:39 plugin failed: plugin.Open("./fabric"): plugin was built with a different version of package golang.org/x/crypto/sha3
显示是版本问题:
我们需要把下面两个go mod 的包改成一样的版本:
和:
打开:
把红框内的包复制到fabric目录下的go mod里去:
fabric的go mod:
在fabric目录下分别执行:
go mod tidy
make bulid
会看到生成了执行文件:fabric.so
把这个执行文件复制到目录/opt/gopath/src/github.com/hyperbench/hyperbench下面:
这里注意,这三个执行文件,挪到下面的路径下:
配置下环境变量:
记得source环境变量哦~~~
把这个文件报错的那一行改成self.index.Tx
记得把这个文件第九行的tx改成Tx!
再继续执行就可以了!
边栏推荐
猜你喜欢
2022开放原子全球开源峰会数据库分论坛圆满召开
TAP 文章系列-10 | 从应用感知能力谈 TAP 的约定服务
Google Cloud X Kyligence|如何从业务视角管理数据湖?
深开鸿:万物智联的大江上,升起一轮开源鸿蒙月
480-82(59、151)
AQS源码阅读与强软弱虚4种引用以及ThreadLocal原理与源码
有关包装类的一道经典面试题
威纶通触摸屏制作自定义欢迎界面的几种方法介绍
R错误:缺少值不允许写在下面的作业的数据帧
R Error in :missing values are not allowed in subscripted assignments of data frames
随机推荐
EA&UML日拱一卒-活动图::Variable Actions(续)
【Postman】下载与安装(新手图文教程)
【JS高级】js之闭包对象_04
PHP代码审计得这样由浅入深地学
【10点公开课】:快手GPU/FPGA/ASIC异构平台的应用探索
kubernetes cks strace etcd
The new technical director, who is in the form of a isXxx Boolean type definition, tomorrow need not come!
分布式事务方案
web会话管理与xss攻击
面试官:生产环境中 CPU 利用率飙高怎么办?
如何返回一个数字的所有质因数?
升级 MDK 5.37 后的问题处理: AC6编译选项, printf, 重启失效等
何为擦除机制,泛型的上界?
尚硅谷大叔培训:揭秘Flink四种执行图——ExecutionGraph和物理执行图
The 10,000-character long article reveals the secrets of Huawei's data governance system!
1124. 骑马修栅栏
Chinese Internet technology companies were besieged by wolves. Google finally suffered a severe setback and its profits fell sharply. It regretted promoting the development of Hongmeng...
通过二维顺序表实现杨辉三角
479-82(54、11)
EA&UML日拱一卒-活动图::Object actions(续)