From 7c7372da8c6cf3819ffdd447452fc5d8ce6ece47 Mon Sep 17 00:00:00 2001 From: Will Lahti Date: Sat, 9 Jan 2021 09:21:57 -0500 Subject: [PATCH] Remove configtx.yaml anchor peers from test-network These values were only used by configtxgen's --outputAnchorPeerUpdate function and should not be set in a channel genesis block This is because a peer cannot be an anchor peer for a channel until it has joined that channel and it can't join a channel until the genesis block has been created. FAB-18381 Signed-off-by: Will Lahti --- test-network/addOrg3/configtx.yaml | 7 ------- test-network/configtx/configtx.yaml | 15 --------------- 2 files changed, 22 deletions(-) diff --git a/test-network/addOrg3/configtx.yaml b/test-network/addOrg3/configtx.yaml index 1782a703..93502f02 100644 --- a/test-network/addOrg3/configtx.yaml +++ b/test-network/addOrg3/configtx.yaml @@ -36,10 +36,3 @@ Organizations: Endorsement: Type: Signature Rule: "OR('Org3MSP.peer')" - - AnchorPeers: - # AnchorPeers defines the location of peers which can be used - # for cross org gossip communication. Note, this value is only - # encoded in the genesis block in the Application section context - - Host: peer0.org3.example.com - Port: 11051 diff --git a/test-network/configtx/configtx.yaml b/test-network/configtx/configtx.yaml index ad72c1e7..77db240f 100644 --- a/test-network/configtx/configtx.yaml +++ b/test-network/configtx/configtx.yaml @@ -71,14 +71,6 @@ Organizations: Type: Signature Rule: "OR('Org1MSP.peer')" - # leave this flag set to true. - AnchorPeers: - # AnchorPeers defines the location of peers which can be used - # for cross org gossip communication. Note, this value is only - # encoded in the genesis block in the Application section context - - Host: peer0.org1.example.com - Port: 7051 - - &Org2 # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -106,13 +98,6 @@ Organizations: Type: Signature Rule: "OR('Org2MSP.peer')" - AnchorPeers: - # AnchorPeers defines the location of peers which can be used - # for cross org gossip communication. Note, this value is only - # encoded in the genesis block in the Application section context - - Host: peer0.org2.example.com - Port: 9051 - ################################################################################ # # SECTION: Capabilities