Skip to content

Commit

Permalink
FAB-16477 Fix regression in orderer bootstrap
Browse files Browse the repository at this point in the history
Introduced in the original of FAB-16477 was a regression which would
cause the genesis file location to be ignored.  This is because the
sampleconfig specified a non-zero value for bootstrap file, preventing
the old genesis file override from affecting it.  This CR zeros the
config.

Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
Change-Id: I7aa11b451e1b711180a89aef2ad51ea73eeef82d
  • Loading branch information
Jason Yellick committed Nov 21, 2019
1 parent fc53b9d commit a1b83d4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions sampleconfig/orderer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,11 @@ General:
# "none" - allows an orderer to start without a system channel configuration
GenesisMethod: file

# The file containing the genesis block to use when initializing the orderer system channel
GenesisFile: genesisblock

# Bootstrap file: The file containing the bootstrap block to use when
# initializing the orderer system channel and GenesisMethod is set to
# "file". Ignored if GenesisMethod is set to "provisional".
# The bootstrap file can be the genesis block, and it can also be a config block that expands the
# network to add orderer.
BootstrapFile: genesisblock
# "file". The bootstrap file can be the genesis block, and it can also be
# a config block for late bootstrap of some consensus methods like Raft.
BootstrapFile:

# LocalMSPDir is where to find the private crypto material needed by the
# orderer. It is set relative here as a default for dev environments but
Expand Down

0 comments on commit a1b83d4

Please sign in to comment.