fabric icon indicating copy to clipboard operation
fabric copied to clipboard

'Consortiums' should be nil since system channel is no longer supported in Fabric v3.x

Open rlfnb opened this issue 1 year ago • 3 comments

Description

I was running the devmode setup and the following warning appeared: 'Consortiums' should be nil since system channel is no longer supported in Fabric v3.x I guess it should be fixed, as the main branch contains already pre v3.x stuff? If its safe to just remove the consortium entry, I'll be happy to do it.

Steps to reproduce

$ configtxgen -profile SampleDevModeSolo -channelID syschannel -outputBlock genesisblock -configPath $FABRIC_CFG_PATH -outputBlock "$(pwd)/sampleconfig/genesisblock"
2024-03-28 13:21:08.452 CET 0001 INFO [common.tools.configtxgen] main -> Loading configuration
2024-03-28 13:21:08.467 CET 0002 INFO [common.tools.configtxgen.localconfig] completeInitialization -> orderer type: solo
2024-03-28 13:21:08.467 CET 0003 INFO [common.tools.configtxgen.localconfig] Load -> Loaded configuration: /fabric/sampleconfig/configtx.yaml
2024-03-28 13:21:08.474 CET 0004 INFO [common.tools.configtxgen] doOutputBlock -> Generating genesis block
2024-03-28 13:21:08.474 CET 0005 ERRO [common.tools.configtxgen] doOutputBlock -> Warning: 'Consortiums' should be nil since system channel is no longer supported in Fabric v3.x
2024-03-28 13:21:08.475 CET 0006 INFO [common.tools.configtxgen] doOutputBlock -> Writing genesis block

rlfnb avatar Mar 28 '24 12:03 rlfnb

which fabric sample did you use? the configtx.yaml there should not have the Consortiums

yacovm avatar Mar 29 '24 01:03 yacovm

https://github.com/hyperledger/fabric/blob/main/sampleconfig/configtx.yaml#L474 lines below

rlfnb avatar Mar 29 '24 16:03 rlfnb