Hi, I re-generate materials with instructions as specified in build.sh file, but I came across error when I do configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./config/genesis.block under the directory $HOME/blockchain-application-using-fabric-java-sdk/network.
background
The configtxgen version is v1.4.1
The $Home/blockchain-application-using-fabric-java-sdk/network has 6 files and 2 directories as follows:
build.shconfigconfigtx.yamlcrypto-configcrypto-config.yamldocker-compose.ymlstop.shteardown.sh
some logs
The following are printed log:
2019-10-08 06:03:44.367 EDT [common.tools.configtxgen.localconfig] Load -> PANI 003 Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced 2019-10-08 06:03:44.367 EDT [common.tools.configtxgen] func1 -> PANI 004 Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced panic: Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced [recovered] panic: Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced
Question
Hi, I re-generate materials with instructions as specified in build.sh file, but I came across error when I do
configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./config/genesis.block
under the directory$HOME/blockchain-application-using-fabric-java-sdk/network
.background
The configtxgen version is
v1.4.1
The$Home/blockchain-application-using-fabric-java-sdk/network
has 6 files and 2 directories as follows:build.sh
config
configtx.yaml
crypto-config
crypto-config.yaml
docker-compose.yml
stop.sh
teardown.sh
some logs
The following are printed log:
2019-10-08 06:03:44.367 EDT [common.tools.configtxgen.localconfig] Load -> PANI 003 Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced 2019-10-08 06:03:44.367 EDT [common.tools.configtxgen] func1 -> PANI 004 Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced panic: Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced [recovered] panic: Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced
Any help will be appreciated.