【问题标题】:Hyperledger fabric: error validating DeltaSet while creating channelHyperledger 结构:创建通道时验证 DeltaSet 时出错
【发布时间】:2018-08-10 16:46:45
【问题描述】:

我需要在 3 个组织下创建 3 个频道。

channelAll : Org1,Org2

channelOrg1 : Org1

channelOrg2 : Org2

但是,我已经成功创建了第一个和第二个频道,但是对于第三个,错误发生如下。

错误:出现意外状态:BAD_REQUEST -- 授权更新错误: 验证 DeltaSet 时出错:[Group] /Channel/Application 的策略 不满足:未能达到 1 个子策略的隐式阈值, 需要 1 剩余 root@871fcf2002f9:/opt/gopath/src/github.com/hyperledger/fabric/peer#

你有什么想法要解决吗?这是 configtx.yaml。

个人资料:

TwoOrgsOrdererGenesis:
    Capabilities:
        <<: *ChannelCapabilities
    Orderer:
        <<: *OrdererDefaults
        Organizations:
            - *OrdererOrg
        Capabilities:
            <<: *OrdererCapabilities
    Consortiums:
        LCFNConsortium:
            Organizations:
                - *Org1
                - *Org2
pfAllChannel:
    Consortium: LCFNConsortium
    Application:
        <<: *ApplicationDefaults
        Organizations:
            - *Org1
            - *Org2
        Capabilities:
            <<: *ApplicationCapabilities
pfOrg1Channel:
    Consortium: LCFNConsortium
    Application:
        <<: *ApplicationDefaults
        Organizations:
            - *Org1
        Capabilities:
            <<: *ApplicationCapabilities
pfOrg2Channel:
    Consortium: LCFNConsortium
    Application:
        <<: *ApplicationDefaults
        Organizations:
            - *Org2
        Capabilities:
            <<: *ApplicationCapabilities

【问题讨论】:

    标签: hyperledger


    【解决方案1】:

    这意味着订购者没有获得所需组织 MSP 的签名。您可以在 orderer 日志中进行验证。

    【讨论】:

      【解决方案2】:

      确保在签署信封之前导出为 env CORE_PEER_LOCALMSPID 的 MSP 正确无误。如果您的 MSP 是 org1.example.comMSP,那么 Org1.example.comMSP 将不起作用。

      【讨论】:

        猜你喜欢
        • 2018-09-10
        • 2018-12-30
        • 2019-06-11
        • 1970-01-01
        • 2020-12-15
        • 2018-08-07
        • 2021-05-26
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多