问题
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