Skip to content

Commit 99df70c

Browse files
committed
migration doc edits
adjusted links to v0.6 branch fixed hyperlink to interfaces.go added new links [ci skip] Change-Id: I092e56adfd7cb0bf1dd905207164175cec59e641 Signed-off-by: Nick Gaski <[email protected]>
1 parent ee5b85c commit 99df70c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/v0.6_migration.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Hyperledger shim:
1010

1111
The chaincode interface has changed from `shim.ChaincodeStub` to
1212
`shim.ChaincodeStubInterface`. See the
13-
[interfaces.go](fabric/core/chaincode/shim/interfaces.go) file for the shim
13+
[interfaces.go](https://github.com/hyperledger/fabric/blob/v0.6/core/chaincode/shim/interfaces.go) file for the shim
1414
source code. The following code snippet from line 74 of chaincode_example02 will
1515
highlight this alteration.
1616

@@ -115,7 +115,7 @@ to a client-side node application leveraging the hfc SDK. This is done by
115115
implementing the EventHub Service in your node program. The EventHub Service
116116
listens for events.
117117
118-
You can customize the eventsender.go code to determine which events you want
118+
You can customize the [eventsender.go](https://github.com/hyperledger/fabric/blob/v0.6/examples/chaincode/go/eventsender/eventsender.go) code to determine which events you want
119119
sent. In the example, only the invoke transaction type is coded to send outgoing
120120
events. See the following code snippet in eventsender.go which demonstrates
121121
invocations being broadcast by the event sender:
@@ -176,7 +176,7 @@ Explore the full library of the [sample event application](https://github.com/ra
176176
for the application source code and deeper documentation.
177177
178178
__2.__ Java chaincode shim - new shim library to support java chaincode interacting
179-
with Hyperledger fabric. See the [java shim](fabric/core/chaincode/shim/java)
179+
with Hyperledger fabric. See the [java shim](https://github.com/hyperledger/fabric/tree/v0.6/core/chaincode/shim/java)
180180
library for the source code.
181181
182182
__3.__ Ability to call chaincode using a 64encoded string. A custom UnmarshalJSON
@@ -198,7 +198,7 @@ malfunctioning and/or non-deterministic chaincode and should be avoided:
198198
- Substituting global memory or cache storage for ledger state variables in the chaincode
199199
- Accessing external services (e.g. databases) directly from the chaincode
200200
- Using libraries or globabl variables that could introduce non-determinism (e.g. "random" or "time")
201-
- For templates of deterministic and properly-written chaincode, see the [examples](fabric/examples/chaincode) library. This directory contains samples written in Go and Java.
201+
- For templates of deterministic and properly-written chaincode, see the [examples](https://github.com/hyperledger/fabric/tree/v0.6/examples/chaincode) library. This directory contains samples written in Go and Java.
202202
203203
__7.__ Fabric Starter Kit - This section describes how to set up a self-contained
204204
environment for application development with the Hyperledger fabric. The setup
@@ -219,7 +219,7 @@ the blockchain service.
219219
220220
__9.__ Fabric v0.6 provides the ability to dynamically register and enroll users
221221
with attributes through the hfc SDK.
222-
See [asset-mgmt-with-dynamic-roles.js](fabric/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js)
222+
See [asset-mgmt-with-dynamic-roles.js](https://github.com/hyperledger/fabric/blob/v0.6/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js)
223223
as an example. The hfc SDK previously allowed you to dynamically enroll users,
224224
but these users were already registered and aligned with attributes/affiliations
225225
hardcoded in the membersrvc.yml. Now a user with `registrar` authority can

0 commit comments

Comments
 (0)