-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照流程,go mod tidy 时出现导入包模糊,请问怎么解决 #211
Comments
我尝试使用go get -d github.com/btcsuite/btcd/chaincfg/[email protected] 解决了这个问题,但是又出现了一个新的问题,显示由abigen编译生成的go包,报错:type *bind.BoundContract has no field or method TransactWithResult,显示没有TransactWithResult这个方法,如下图所示;我检查了所有的github.com/FISCO-BCOS/go-sdk/abi/bind包的版本,但是均没有这个方法TransactWithResult,请问问题是出在哪呢 |
This comment was marked as off-topic.
This comment was marked as off-topic.
你用的是2.0的还是3.0的go-sdk? |
这个功能在https://github.com/FISCO-BCOS/go-sdk/tree/master-FISCO-BCOS-v2 的最新提交,还没有打tag |
可以试试将go-sdk工程clone到本地,和开发工程同级目录,然后在go.mod里将依赖指向本地,也就是在go.mod添加下面的代码: |
把go.mod里面的以太坊的包版本改为v1.9.16就好了 |
The text was updated successfully, but these errors were encountered: