Comments (8)
Same error from me as well, is there a fix for this??
from fabric-sdk-go.
@MrRancy, I got error when I run tests. You too? I do not have solution yet. Sad.
from fabric-sdk-go.
@MrHIDEn, I am using fabric-sdk-go in a personal package development, and that's when I got this error. don't know, because of this, I am unable to build my package. By the way, what is the version you are using? I am working on v1.20
from fabric-sdk-go.
Hey @MrHIDEn, I got it working with these versions, for me, the error was from a different package which is the fabric-protos-go. Probably it's the same for you. Could you give it a try with this version?
go.mod file
go 1.20
require (
github.com/hyperledger/fabric-lib-go v1.0.0 // indirect
github.com/hyperledger/fabric-sdk-go v1.0.0 // indirect
github.com/hyperledger/fabric v2.1.1+incompatible
github.com/hyperledger/fabric-amcl v0.0.0-20221107192335-5c75bc7be9c0 // indirect
github.com/hyperledger/fabric-config v0.1.0
github.com/hyperledger/fabric-protos-go v0.0.0-20200707132912-fee30f3ccd23
)
from fabric-sdk-go.
Hey @Teja-S, Generali my app works on any Go version exept 1.14 but when I run tests I got error provided.
No for Go 1.20 I have below code
// go.mod file
go 1.20
require (
github.com/codahale/sss v0.0.0-20160501174526-0cb9f6d3f7f1
github.com/ghodss/yaml v1.0.0
github.com/hyperledger/fabric-contract-api-go v1.2.1
github.com/hyperledger/fabric-sdk-go v1.0.0
)
from fabric-sdk-go.
One of error says:
C:\Users\user\go\pkg\mod\github.com\hyperledger\[email protected]\internal\github.com\hyperledger\fabric\discovery\client\api.go:47:38: undefined: discovery.ChaincodeCall
when I go there to ..\api.go:47:38
I see there is real issue:
// Peers returns a response for a peer membership query, or error if something went wrong
Peers(invocationChain ...*discovery.ChaincodeCall) ([]*Peer, error)
*discovery
doesn't have ChaincodeCall
at all !!
from fabric-sdk-go.
That is interested:
Github search: org:hyperledger Peers(invocationChain
Peers(invocationChain ...*peer.ChaincodeCall) ([]*Peer, error)
On my libs installed
C:\Users\user\go\pkg\mod\github.com\hyperledger\[email protected]\internal\github.com\hyperledger\fabric\discovery\client\api.go
Peers(invocationChain ...*discovery.ChaincodeCall) ([]*Peer, error)
from fabric-sdk-go.
Related Issues (20)
- Use go install $pkg@$version over gobin: gobin is deprecated
- Apple M1 unable to build: hyperledger/fabric-tools:arm64-2.2.0 not found: manifest unknown HOT 1
- Configuration file and dynamic network structure
- Use of vulnerable module jwt-go
- How Events listener reads event from startblocknumber HOT 1
- Please provide Enroll and Register user sample code in go lang?
- Not able to create deliver client for event
- How to calculate the block size ? HOT 2
- Why use orgname which extracted from msppath instead of directly from IdentityIdentifier
- Endorser Client Status Code: (2) CONNECTION_FAILED HOT 3
- Does it support version 2.4 HOT 3
- The SDK cannot run on the MacOS Ventura
- Is there a tutorial to introduce how to implement 'fabric-ca-server/fabric-ca-client' functionality using this SDK like the official document HOT 2
- Adding an anchor peer nod on a channel with fabric-sdk-go
- fabric1.4 stub.delState deleted fail
- direct dependency cloudflare/cfssl has experimantal and dengerious dependency
- sanitizeCert failed the supplied identity is not valid: x509: certificate signed by unknown authority HOT 2
- Add support for go version 1.18+ HOT 2
- how to use this to create channel at fabric2.4 without orderer system channel HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-sdk-go.