hyperledger / hyperledger/fabric-private-chaincode
Fixed (and small) maximal size of return parameters
Open
enhancement
- Dominant language
- Go
- Stars
- 174
- Forks
- 98
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
Currently return parameters have a hard-coded upper-bound of 1024. We might consider making this dynamic. The obvious way would be to have a getOutputLenX function for each function X with a variable length response (e.g., Invoke). Somewhat related also with Bug #177.
PS: the hardcoding is in ecc/enclave/enclave_stub.go as variable MAX_RESPONSET_SIZE (note typo! Also don't mistake it with MAX_OUTPUT_SIZE which seems dead code ..)
Contributor guide
Assessment
This issue has not been assessed yet.