Smart Contract Not Compatible with IBM Blockchain Platform 2.5 using Fabric 2.x Images · Issue #43 · IBM/evote · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The smart contract uses an older shim level that is not supported with Hyperledger Fabric 2.x images.
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.1",
"fabric-shim": "^1.4.1",
"mem": "^5.1.1",
"os-locale": "^4.0.0"
},
This should be updated to:
"dependencies": {
"fabric-contract-api": "1.4.5",
"fabric-shim": "^1.4.5",
"mem": "^5.1.1",
"os-locale": "^4.0.0"
},
The text was updated successfully, but these errors were encountered: