Create-BlockchainNetwork-IBPV20 icon indicating copy to clipboard operation
Create-BlockchainNetwork-IBPV20 copied to clipboard

Smart Contract Not Compatible with IBM Blockchain Platform 2.5 using Fabric 2.x Images

Open celder628 opened this issue 4 years ago • 0 comments

Fabric runtimes that use Fabric 2.x images have Node version 12 instead of Node version 8 which is used in Fabric 1.4.x runtimes.

The smart contract fabric-contract-api & fabric-shim node modules must be at v1.4.5 or greater to work with Fabric 2.x images.

This is from the smart contract package.json:

"dependencies": {
    "fabric-contract-api": "^1.4.4",
    "fabric-shim": "^1.4.4"
},

This should be updated to:

"dependencies": {
    "fabric-contract-api": "^1.4.5",
    "fabric-shim": "^1.4.5"
},

celder628 avatar Jul 09 '20 12:07 celder628