Extend lifecycle protos to checkcommitreadiness to provide discrepancy details#190
Extend lifecycle protos to checkcommitreadiness to provide discrepancy details#190denyeart merged 1 commit intohyperledger:mainfrom
Conversation
peer/lifecycle/lifecycle.proto
Outdated
| message CheckCommitReadinessResult{ | ||
| map<string, bool> approvals = 1; | ||
|
|
||
| message Mismatch { |
There was a problem hiding this comment.
Minor comment - since this contains a repeated list, should it be called "Mismatches" instead of "Mismatch"?
…y details Signed-off-by: Tatsuya Sato <tatsuya.sato.so@hitachi.com>
|
@denyeart |
|
Ok, it looks like all the bindings got built successfully with the proto change (node, java, go, go apiv2). @bestbeforetoday @satota2 Shall I proceed with a v0.3.1 PR and then create v0.3.1 release tag so that fabric main branch can pull in I don't think the gateway SDKs will need to update since they still use v02.x, but wanted to check with @bestbeforetoday in case I've missed something... |
@denyeart @bestbeforetoday |
|
@denyeart This should not disrupt the client SDKs since they depend on v0.2.x versions. Releasing should be as simple as creating a GitHub release, as described in the RELEASING document. However... I would recommend merging this pull request first to ensure the tagging of the published Node bindings remains sane. There is a similar pull request to update the v0.1.x branch that should also be merged but won't affect a new release tag against the main branch. |
|
Thanks @bestbeforetoday. I've merged the PRs, created PR #194 to document your suggestions, created v0.3.1 release, confirmed the bindings have been pushed (except I think maven java repository update is delayed), and created PR #195 to update versions for next v03.2 release. |
This patch extends lifecycle protos to checkcommitreadiness to provide discrepancy details.
Type of change
Description
I have proposed an extension to lifecycle chaincode checkcommitreadiness to provide details of the discrepancies as shown in hyperledger/fabric#4428.
As a sub-task stemming from issue #4428, this patch extends lifecycle protos to checkcommitreadiness to provide discrepancy details.
To maintain backward compatibility with the previous versions of checkcommitreadiness, I've opted to introduce a field named
mismatches.Once this patch is merged, I plan to enhance the command and submit it to the Fabric repository. A provisional implementation is provided below:
The example of output when executing checkcommitreadiness with inspect flag in the provisional implementation:
Related Issues