Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orderer v3: Remove system channel usage from integration tests: configtx #3905

Closed
wants to merge 1 commit into from
Closed

Orderer v3: Remove system channel usage from integration tests: configtx #3905

wants to merge 1 commit into from

Conversation

tock-ibm
Copy link
Contributor

@tock-ibm tock-ibm commented Jan 9, 2023

Type of change

  • Improvement (improvement to code, performance, etc)

Description

Remove system channel usage from integration tests: configtx

Related issues

Epic:#3511
Issue: #3515

@tock-ibm tock-ibm requested a review from a team as a code owner January 9, 2023 15:13
@tock-ibm tock-ibm changed the title Remove system channel usage from integration tests: configtx Orderer v3: Remove system channel usage from integration tests: configtx Jan 9, 2023
@yacovm
Copy link
Contributor

yacovm commented Jan 11, 2023

An the BFT case

And in the?

},
}
config.SystemChannel = nil
config.Consensus.ChannelParticipationEnabled = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should eventually remove ChannelParticipationEnabled option since it's the only way... both here and in the orderer.yaml

Copy link
Contributor Author

@tock-ibm tock-ibm Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is correct. I added a comment about that to the issue #3515

@yacovm
Copy link
Contributor

yacovm commented Jan 11, 2023

LGTM

@tock-ibm
Copy link
Contributor Author

An the BFT case

And in the?

In the BFT case

In configtx_test.go the channel creation TX part was removed.
The channel is created without anchor peers and then all peers are turned into anchors.

In the BFT case an app channel genesis block is generated, instead of a system channel genesis block.

Signed-off-by: Yoav Tock <tock@il.ibm.com>
Change-Id: Iac09bd9a2e0bc2440bf931b452da809fd7112d8a
@yacovm yacovm enabled auto-merge (squash) January 11, 2023 15:05
@tock-ibm
Copy link
Contributor Author

included in #3916

@tock-ibm tock-ibm closed this Jan 12, 2023
auto-merge was automatically disabled January 12, 2023 07:11

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants