【发布时间】:2020-05-04 17:55:04
【问题描述】:
我们刚刚迁移到 Fabric 2.0,我们所有的组件(peer、orderer、二进制文件)都在 v2.0.0。
我们的 Fabric Node SDK 仍然是 v1.4.8,它的大部分功能都在工作,例如
createChannel, updateChannel, installChaincode etc.
但是,当我尝试使用 Channel.sendInstantiateProposal 时,我得到一个错误
"Channel <channel_name> has been migrated to the new lifecycle. LSCC is now read only".
我知道这可能是 SDK 和 Fabric 组件之间的不匹配,但是,除了升级到 Fabric Node SDK 2.0 之外,还有什么方法可以让它工作吗?
用于启动网络的 configtx.yaml 文件有 capabilities all set to V2.0:true。注释表明 V2.0 功能是非向后兼容的,因此我假设我无法将它们设置为 V1.4 并且仍然可以使用 Fabric 2.0 组件。
谢谢
【问题讨论】:
标签: hyperledger-fabric hyperledger-chaincode