Creating own hyperledger fabric network Error main -> CRIT 003 Cannot define new channel with no Application section

若如初见. 提交于 2019-12-11 06:16:52

问题


I would like to create my hyperledger fabric network but I face an error when I try to create a channel.

error on outputChannelCreateTx: Cannot define a new channel with no Application section

My configtx file has of course application section, so I dont know what else can be the reason for.


回答1:


Application has to be defined or referenced under the channel in the profile and also have an Application section if using *ApplicationDefaults.

Profiles:
...
ExampleChannel:
    Consortium: SampleConsortium
    Application:
        <<: *ApplicationDefaults
        Organizations:
                - *Org1
                - *Org2
...
Application: &ApplicationDefaults

Organizations:


来源:https://stackoverflow.com/questions/48747186/creating-own-hyperledger-fabric-network-error-main-crit-003-cannot-define-new

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!