Skip to content

Conversation

@awrichar
Copy link
Contributor

Instead of proxying the response from ethconnect/fabconnect, successful
"InvokeContract" calls can return a predictable response body constructed
by the Contract Manager.

The request ID (which is actually the FireFly operation ID) was the only
interesting thing returned in the first place, so starting with just that
in the new response body.

Instead of proxying the response from ethconnect/fabconnect, successful
"InvokeContract" calls can return a predictable response body constructed
by the Contract Manager.

The request ID (which is actually the FireFly operation ID) was the only
interesting thing returned in the first place, so starting with just that
in the new response body.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@codecov-commenter
Copy link

Codecov Report

Merging #532 (f8e170e) into main (2ad92fa) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #532   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          275       275           
  Lines        15812     15809    -3     
=========================================
- Hits         15812     15809    -3     
Impacted Files Coverage Δ
pkg/fftypes/contracts.go 100.00% <ø> (ø)
...ternal/apiserver/route_post_contract_api_invoke.go 100.00% <100.00%> (ø)
.../apiserver/route_post_contract_interface_invoke.go 100.00% <100.00%> (ø)
internal/apiserver/route_post_contract_invoke.go 100.00% <100.00%> (ø)
internal/blockchain/ethereum/ethereum.go 100.00% <100.00%> (ø)
internal/blockchain/fabric/fabric.go 100.00% <100.00%> (ø)
internal/contracts/manager.go 100.00% <100.00%> (ø)

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 2ad92fa...f8e170e. Read the comment docs.

@awrichar awrichar merged commit 8f9e048 into hyperledger:main Feb 16, 2022
@awrichar awrichar deleted the invoke branch February 16, 2022 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants