Open musaddiq-ashfaq opened 1 month ago
Note: This API is deprecated and is no longer maintained as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the Fabric Gateway client API.
@denyeart can move this repository to the archive.
I am getting these errors when I am trying to run my main.go file in hyperledger fabric.
github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/discovery/client
../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/api.go:47:38: undefined: discovery.ChaincodeCall ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:83:63: undefined: discovery.ChaincodeInterest ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:120:65: undefined: discovery.ChaincodeCall ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:124:23: undefined: discovery.ChaincodeInterest ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:229:105: undefined: discovery.ChaincodeCall ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:247:64: undefined: discovery.ChaincodeCall ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:604:48: undefined: discovery.ChaincodeInterest ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:620:35: undefined: discovery.ChaincodeCall
github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/core/operations
../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/core/operations/system.go:225:49: not enough arguments in call to s.statsd.SendLoop have (<-chan time.Time, string, string) want (context.Context, <-chan time.Time, string, string)
github.com/hyperledger/fabric-sdk-go/pkg/fab/resource
../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/pkg/fab/resource/configtx.go:83:41: cannot use block (variable of type "github.com/hyperledger/fabric-protos-go/common".Block) as protoreflect.ProtoMessage value in argument to protolator.DeepMarshalJSON: "github.com/hyperledger/fabric-protos-go/common".Block does not implement protoreflect.ProtoMessage (missing method ProtoReflect) ../../go/pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/pkg/fab/resource/configtx.go:125:41: cannot use env (variable of type "github.com/hyperledger/fabric-protos-go/common".Envelope) as protoreflect.ProtoMessage value in argument to protolator.DeepMarshalJSON: "github.com/hyperledger/fabric-protos-go/common".Envelope does not implement protoreflect.ProtoMessage (missing method ProtoReflect)