In early 2016, the Auction test application was developed to help developers understand chaincode development on the Hyperledger Fabric v0.1 or later, and to support Fabric testing. The chaincode has a number of functions such as registering a user, registering an art asset, placing it on auction, or transferring its ownership.
We recently explored how easy would it be to migrate the Auction application chaincode, as is, to Fabric v1.0. A number of new features and architectural advantages are provided by Fabric V1.0. After performing an as-is migration, we recommend that the application architecture be reviewed, re-designed, redone, or enhanced as appropriate to take advantage of those features.
This document is based on intermediate versions of the v1.0 fabric release. The information provided here is based on our desire to understand the potential migration paths available to v0.6 versions of applications. While it is not a big challenge to migrate the chaincode and the node application, the migration of existing data from v0.6 to v1.0 has no clearly defined path. Our view is that data extract scripts can be developed to extract the application-specific data from the current data store and insert them into the v1.0 ledger using data migration contracts agreed to by all the participants to verify and validate the extract and load of data into v1.0. However, such an approach does not guarantee that source and target ledgers are identical.
View the migration document (PDF):
Migration of the Auction test application, issue 0.5
This document was contributed by and is maintained by:
- Mohan Venkataraman
- Ratnakar Asara
- Barath Balasubramanian