Comments (4)
same problem to chaincode.Approve(...)
from fabric-admin-sdk.
The problem looks to be that status.Convert()
just checks if the error itself has the required GRPCStatus()
method, whereas the error returned wraps the underlying error and so does not directly implement this method. It might be better if the gRPC status functions dealt with wrapped errors better, but the simplest fix is likely to just not wrap the error in the admin API.
from fabric-admin-sdk.
It looks like this was recently fixed in grpc-go. Updating the grpc dependency version should resolve it, but it would be good to also have a unit test to confirm.
from fabric-admin-sdk.
@bestbeforetoday grpc-go:v.1.55.0 worked, tks
from fabric-admin-sdk.
Related Issues (20)
- Avoid need for sleeps after creating channel using API HOT 9
- Chaincode package docs and examples
- Chaincode: Get installed package HOT 3
- Chaincode: Query approved definition
- to suppport channel.GetConfigBlockFromOrderer(...) HOT 2
- can't work with fabric2.5 beta HOT 29
- How to set SignaturePolicy for Collections HOT 6
- Try to enable go lint with options HOT 4
- to support list channels peer has joined HOT 10
- to support GetConfigBlockFromOrdererByNumber HOT 4
- How to list peers that are not anchor nodes on the channel HOT 8
- need a function to translate SignaturePolicyEnvelope to human readable expression HOT 5
- add org.hyperledger.fabric:GetMetadata into go API HOT 2
- Request for High-Level API Function to Convert CollectionConfig String
- update CI with fabric 2.5
- Nominate channingduan as maintainer HOT 1
- TypeScript features implementation HOT 1
- CI pipeline for github release with tag
- chaincode package golang HOT 4
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-admin-sdk.