You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://jira.hyperledger.org/browse/FAB-2696
According to @aso, the default chain is currently broken because it does
not appropriately encode the channel config, and additional config
sanity checks are now rejecting the config as invalid.
This CR switches the default chain to using the configtxgen supporting
structures to generate the genesis block for the default chain, so that
all of the config checks will pass.
It also causes the configtxgen tool to search a few different paths for
relative MSP directories (., PEER_CFG_PATH, ORDERER_CFG_PATH, and
finally the GOPATH).
Change-Id: Ib6b836212e335b57f0c2b3c23dc4f05e9a47c56e
Signed-off-by: Jason Yellick <[email protected]>
logger.Panicf("Unable to create genesis block for [%s] due to [%s]", chainID, err)
200
-
}
186
+
varblock*cb.Block
187
+
188
+
func() {
189
+
deferfunc() {
190
+
iferr:=recover(); err!=nil {
191
+
logger.Fatalf("Peer configured to start with the default test chain, but supporting configuration files did not match. Please ensure that configtx.yaml contains the unmodified SampleSingleMSPSolo profile and that msp/sampleconfig is present.\n%s", err)
0 commit comments