Skip to content

Commit 11cc896

Browse files
bvavalag2flyer
authored andcommitted
update references and typos
Signed-off-by: Bruno Vavala <[email protected]>
1 parent 2bddb79 commit 11cc896

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,10 @@ git clone https://github.com/hyperledger/fabric.git $FABRIC_PATH
407407
cd $FABRIC_PATH; git checkout tags/v2.3.0
408408
```
409409

410-
Note that Fabric Private Chaincode currently does not work with the Fabric `master` branch, therefore make sure you use the Fabric
411-
`v2.3.0` tag. This is important as our build script applies some patches
412-
to the fabric peer to enable FPC support. Make sure the source of Fabric is in your `$GOPATH`.
410+
Note that Fabric Private Chaincode may not work with the Fabric `master` branch.
411+
Therefore make sure you use the Fabric `v2.3.0` tag.
412+
This is important as our build script applies some patches to the fabric peer to enable FPC support.
413+
Make sure the source of Fabric is in your `$GOPATH`.
413414

414415
### Build Fabric Private Chaincode
415416

client_sdk/go/doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SPDX-License-Identifier: Apache-2.0
2121
//
2222
// Usage samples
2323
//
24-
// samples/main.go: Illustrates the use of the FPC Client SDK. The application can be used with the our test-network.
25-
// Reference: https://github.com/hyperledger-labs/fabric-private-chaincode/tree/master/integration/test-network
24+
// samples/main.go: Illustrates the use of the FPC Client SDK. The application can be used with our test-network.
25+
// Reference: https://github.com/hyperledger-labs/fabric-private-chaincode/tree/v1.0-rc1/integration/test-network
2626
//
2727
package fpcclientsdk

client_sdk/go/pkg/client/resmgmt/lifecycleclient.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SPDX-License-Identifier: Apache-2.0
77
// Package resmgmt provides FPC specific chaincode management functionality.
88
//
99
// For more information on the FPC management commands and related constraints on chaincode versions and endorsement policies,
10-
// see https://github.com/hyperledger-labs/fabric-private-chaincode/blob/master/docs/design/fabric-v2+/fpc-management.md
10+
// see https://github.com/hyperledger-labs/fabric-private-chaincode/blob/v1.0-rc1/docs/design/fabric-v2+/fpc-management.md
1111
//
1212
// Example:
1313
//
@@ -34,7 +34,7 @@ SPDX-License-Identifier: Apache-2.0
3434
// log.Fatal(err)
3535
// }
3636
//
37-
// See also https://github.com/hyperledger-labs/fabric-private-chaincode/blob/master/integration/client_sdk/go/utils.go
37+
// See also https://github.com/hyperledger-labs/fabric-private-chaincode/blob/v1.0-rc1/integration/client_sdk/go/utils.go
3838
// for a running example.
3939
//
4040
package resmgmt

client_sdk/go/pkg/gateway/contract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var logger = flogging.MustGetLogger("fpc-client-gateway")
2525
// but in addition to the normal FPC operations, it performs FPC specific steps such as encryption/decryption of chaincode requests/responses.
2626
//
2727
// A Contract object is created using the GetContract() factory method.
28-
// For an example of its use, see https://github.com/hyperledger-labs/fabric-private-chaincode/blob/master/client_sdk/go/test/main.go
28+
// For an example of its use, see https://github.com/hyperledger-labs/fabric-private-chaincode/blob/v1.0-rc1/client_sdk/go/sample/main.go
2929
type Contract interface {
3030
// Name returns the name of the smart contract
3131
Name() string

docs/design/fabric-v2+/interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ namespaces/exported/<chaincode_id>/<enclave_id> -> SignedExportMessage
7979
```
8080

8181
This key scheme is design with the goal in mind to reduce the write conflicts for concurrent enclave registrations.
82-
ERCC state can accessed and modified by the [lifecycle ledger shim](https://github.com/hyperledger/fabric/blob/master/core/chaincode/lifecycle/ledger_shim.go) or the normal [go-chaincode shim](https://github.com/hyperledger/fabric/blob/master/vendor/github.com/hyperledger/fabric-chaincode-go/shim/stub.go). Here an example:
82+
ERCC state can be accessed and modified by the [lifecycle ledger shim](https://github.com/hyperledger/fabric/blob/master/core/chaincode/lifecycle/ledger_shim.go) or the normal [go-chaincode shim](https://github.com/hyperledger/fabric/blob/master/vendor/github.com/hyperledger/fabric-chaincode-go/shim/stub.go). Here an example:
8383
```go
8484
// returns the chaincode encryption key for AuctionChaincode1
8585
k := fmt.Sprintf("namespaces/chaincode_ek/%s", "AuctionChaincode1")

ercc/registry/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Copyright 2020 Intel Corporation
55
SPDX-License-Identifier: Apache-2.0
66
*/
77

8-
// this package defines the client-facing interface of ERCC as defined in the ERCC Interface section in [specifications](https://github.com/hyperledger-labs/fabric-private-chaincode/blob/master/docs/design/fabric-v2%2B/interfaces.md)
8+
// this package defines the client-facing interface of ERCC as defined in the ERCC Interface section in [specifications](https://github.com/hyperledger-labs/fabric-private-chaincode/blob/v1.0-rc1/docs/design/fabric-v2%2B/interfaces.md)
99
package registry
1010

1111
import (

0 commit comments

Comments
 (0)