Skip to content

Commit

Permalink
Extend lifecycle protos to checkcommitreadiness to provide discrepanc…
Browse files Browse the repository at this point in the history
…y details

Signed-off-by: Tatsuya Sato <tatsuya.sato.so@hitachi.com>
  • Loading branch information
satota2 authored and denyeart committed Sep 28, 2023
1 parent f4e976c commit 6567228
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions peer/lifecycle/lifecycle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,17 @@ message CheckCommitReadinessArgs {

// CheckCommitReadinessResult is the message returned by
// `_lifecycle.CheckCommitReadiness`. It returns a map of
// orgs to their approval (true/false) for the definition
// supplied as args.
// orgs to their approval (true/false) for the definition
// supplied as args. Additionally, it returns a map of
// parameter mismatches between each organization's
// approved definition and the definition supplied as args.
message CheckCommitReadinessResult{
map<string, bool> approvals = 1;

message Mismatches {
repeated string items = 1;
}
map<string, Mismatches> mismatches = 2;
}

// QueryApprovedChaincodeDefinitionArgs is the message used as arguments to
Expand Down

0 comments on commit 6567228

Please sign in to comment.