hyperledger / fabric-sdk-go

https://wiki.hyperledger.org/display/fabric
Apache License 2.0
911 stars 508 forks source link

Get proposal response payload from chaincode action #206

Closed bestbeforetoday closed 2 years ago

bestbeforetoday commented 2 years ago

This is the correct chaincode transaction response payload location. The response payload field is intended to contain metadata but the peer currently copies the transaction response payload here for convenience. This causes failures due to gRPC message size limits for large response payloads and so may be removed in the future.

Also changed a few build scripts to honour the GO_CMD environment variable.

codecov[bot] commented 2 years ago

Codecov Report

Merging #206 (1c61898) into main (4f34271) will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #206      +/-   ##
==========================================
+ Coverage   76.09%   76.11%   +0.02%     
==========================================
  Files         193      193              
  Lines       14064    14078      +14     
==========================================
+ Hits        10702    10716      +14     
  Misses       2393     2393              
  Partials      969      969              
Impacted Files Coverage Δ
pkg/client/channel/invoke/txnhandler.go 84.04% <100.00%> (+1.49%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4f34271...1c61898. Read the comment docs.