I followed the documentation for the Commercial paper, but stuck at instantiation.
I used Fabric 1.4, tried to search online, but have not find anyone has the proble
Until https://jira.hyperledger.org/browse/FAB-15287 is addressed the workaround for now is to modify the package.json files in the magnetocorp/contract and digibank/contract directories. Look for the entries
"dependencies" : {
"fabric-contract-api" : "~1.4.0",
"fabric-shim": "~1.4.0"
},
and remove the ~
(tilda) from the version numbers ie
"dependencies" : {
"fabric-contract-api" : "1.4.0",
"fabric-shim": "1.4.0"
},
This should revert it back to using 1.4.0 rather than 1.4.1 which at writing is the current 1.4 version and the sample should work.