Closed lehors closed 6 years ago
The original Hyperledger Fabric configtx.yaml file had an error that is no longer tolerated in Fabric 1.2:
2018-08-09 17:13:36.523 PDT [common/tools/configtxgen/localconfig] Load -> CRIT 003 Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced 2018-08-09 17:13:36.526 PDT [common/tools/configtxgen] func1 -> CRIT 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
This PR fixes the error so that configtxgen runs successfully:
2018-08-09 17:49:14.245 PDT [common/tools/configtxgen] doOutputBlock -> INFO 007 Generating genesis block 2018-08-09 17:49:14.251 PDT [common/tools/configtxgen] doOutputBlock -> INFO 008 Writing genesis block
Signed-off-by: Arnaud J Le Hors lehors@us.ibm.com
The original Hyperledger Fabric configtx.yaml file had an error that is no longer tolerated in Fabric 1.2:
2018-08-09 17:13:36.523 PDT [common/tools/configtxgen/localconfig] Load -> CRIT 003 Error reading configuration: While parsing config: yaml: unknown anchor 'OrdererDefaults' referenced 2018-08-09 17:13:36.526 PDT [common/tools/configtxgen] func1 -> CRIT 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
This PR fixes the error so that configtxgen runs successfully:
2018-08-09 17:49:14.245 PDT [common/tools/configtxgen] doOutputBlock -> INFO 007 Generating genesis block 2018-08-09 17:49:14.251 PDT [common/tools/configtxgen] doOutputBlock -> INFO 008 Writing genesis block
Signed-off-by: Arnaud J Le Hors lehors@us.ibm.com