Link Search Menu Expand Document

fabric GitHub

PR #3437 bump Go to 1.18.2 (release-2.2) 3 of 3
Fix code issues from the updated staticcheck. Fix unit test for new TLS messages and assertion changes in Go 1.18. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
Created At 2022-05-20 21:38:05 +0000 UTC
PR #3436 bump golang.org/x/crypto and golang.org/x/tools (release-2.2) 2 of 3
Bump dependencies in preparation for Go 1.18. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
Created At 2022-05-20 21:25:50 +0000 UTC
PR #3435 bump go-dockerclient (release-2.2) 1 of 3
Backport of #2338 in preparation of Go 1.18 update. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
Created At 2022-05-20 20:56:39 +0000 UTC
PR #3433 [Doc] Remove text for a broken link
Signed-off-by: D <d_kelsey@uk.ibm.com> #### Type of change - Documentation update #### Description Remove text and broken link
Created At 2022-05-20 08:16:49 +0000 UTC
PR #3432 Remove duplicated line
#### Type of change - Documentation update
Created At 2022-05-20 06:50:30 +0000 UTC
PR #3431 Improve response mismatch logging
This commit addresses some comments (https://github.com/hyperledger/fabric/pull/3420#pullrequestreview-978439334) made on the original PR for this feature as follows: - The mismatch details are logged as warnings through a new logger “gateway.responsechecker”. This is enabled by default but can be disabled by setting the log level to “error” for this logger. - Each log message contains the address/mspid of the initial endorser and ’this’ endorser. The ‘expected’ &’ actual’ values have been renamed ‘initial’ and ‘this’ accordingly. - Spaces in the insert names have been replaced by hyphens for improved readability since the logger removes the spaces in the output. - The base64 encoded protobuf responses have been removed from the log since they are now redundant. Log entries look like this: ``` [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a2 WARN [gateway] processEndorsement -> ProposalResponsePayloads do not match. See [gateway.responsechecker] log warnings for details. [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a3 WARN [gateway.responsechecker] processEndorsement -> Compared to the initial endorser's response, the following log entries detail the differences in this endorser's response. initial-endorser="127.0.0.1:22005 (Org1MSP)" this-endorser="127.0.0.1:22010 (Org2MSP)" [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a4 WARN [gateway.responsechecker] processEndorsement -> Proposal response mismatch: initial-endorser="127.0.0.1:22005 (Org1MSP)" this-endorser="127.0.0.1:22010 (Org2MSP)" type="write value mismatch" namespace=pvtmarblescc key=key1 initial-value=Org1MSP this-value=Org2MSP [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a5 WARN [gateway.responsechecker] processEndorsement -> Proposal response mismatch: initial-endorser="127.0.0.1:22005 (Org1MSP)" this-endorser="127.0.0.1:22010 (Org2MSP)" type="write metadata mismatch (SBE policy)" namespace=pvtmarblescc key=key1 name=VALIDATION_PARAMETER initial-value="rule:<n_out_of:<n:1 rules:<signed_by:0 > > > identities:<principal:\"\\n\\007Org1MSP\\020\\003\" > " this-value="rule:<n_out_of:<n:1 rules:<signed_by:0 > > > identities:<principal:\"\\n\\007Org2MSP\\020\\003\" > " [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a6 WARN [gateway.responsechecker] processEndorsement -> Proposal response mismatch: initial-endorser="127.0.0.1:22005 (Org1MSP)" this-endorser="127.0.0.1:22010 (Org2MSP)" type="private collection hash mismatch" namespace=pvtmarblescc collection=collectionMarbles initial-hash=efb38ca7ac94ce312d186cfb6da62b67f06fe889099b421fde3a4a7f5dec06fe this-hash=f713a7a5e5f0412c226af7bfc2a3eb0d0c7a3099f09a7a45e99d3424c37d9234 [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a7 WARN [gateway.responsechecker] processEndorsement -> Proposal response mismatch: initial-endorser="127.0.0.1:22005 (Org1MSP)" this-endorser="127.0.0.1:22010 (Org2MSP)" type="chaincode event mismatch" initial-event="chaincodeId: pvtmarblescc, name: my-event, value: Org1MSP" this-event="chaincodeId: pvtmarblescc, name: my-event, value: Org2MSP" [e][Org1.peer0] 2022-05-19 16:21:41.695 BST 00a8 WARN [gateway.responsechecker] processEndorsement -> Proposal response mismatch: initial-endorser="127.0.0.1:22005 (Org1MSP)" this-endorser="127.0.0.1:22010 (Org2MSP)" type="chaincode response mismatch" initial-response="status: 200, message: , payload: Org1MSP" this-response="status: 200, message: , payload: Org2MSP" ``` Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Created At 2022-05-19 16:30:09 +0000 UTC
PR #3430 Remove redundant type definition
The code that used this was rewritten in a previous commit. Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Created At 2022-05-19 14:07:10 +0000 UTC
PR #3429 Fix some errors in the tutorial
#### Type of change - Documentation update #### Description This is a backport of the commit 318510f80a to release-2.2. Signed-off-by: Satoshi Ito <satoshi.ito.tf@hitachi.com>
Created At 2022-05-19 04:15:40 +0000 UTC
PR #3428 Update doc CouchDB links to 3.2.2
Address comments from release-2.4 PR. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
Created At 2022-05-18 16:56:37 +0000 UTC
PR #3427 new caas page (backport #3329)
This is an automatic backport of pull request #3329 done by [Mergify](https://mergify.com). ---
Mergify commands and options
More conditions and actions can be found in the [documentation](https://docs.mergify.com/). You can also trigger Mergify actions by commenting on this pull request: - `@Mergifyio refresh` will re-evaluate the rules - `@Mergifyio rebase` will rebase this PR on its base branch - `@Mergifyio update` will merge the base branch into this PR - `@Mergifyio backport ` will backport this PR on `` branch Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can: - look at your merge queues - generate the Mergify configuration with the config editor. Finally, you can contact us on https://mergify.com </details> </td> </tr> </table>
Created At 2022-05-17 18:39:35 +0000 UTC
</div>
PR #3426 New Block Attestation Orderer GRPC service
#### Type of change - New feature #### Description New RPC service for block attestation is added. It will be used by BFT block replication #### Related issues #3413 Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Created At 2022-05-17 10:20:25 +0000 UTC
PR #3423 Bump Go to 1.18.2 (release-2.4)
Update staticcheck to a version that works with Go 1.18. Fix code issues with the new staticcheck. Fix unit test for new TLS messages and assertion changes in Go 1.18. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
Created At 2022-05-16 19:45:36 +0000 UTC
PR #3420 Log proposal response differences
In the gateway, if proposal responses from different endorsing peers don’t match, then it’s very difficult for the end user to diagnose why. This commit adds extra logging to help identify the cause of the mismatch. If the log level is set to ‘debug’ for the ‘gateway’, then the proposal response payloads are unmarshalled and analysed to log specific differences between individual key/values in the read/write sets, SBE policy write differences, event differences and chaincode response differences. For private collections, only the hashes are logged if they are different. Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Created At 2022-05-16 12:06:45 +0000 UTC
PR #3418 Fix mistake change 'curl' to 'git'
#### Type of change - Documentation update
Created At 2022-05-14 14:23:58 +0000 UTC