Fix name of CHANNEL_CONFIG_BLOCK in the Channel participation API tut… #2186
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: pama-ibm pama@ibm.com
In the channel participation API tutorial I noticed a mismatch between the name of the genesis block that we generate and the name of the CHANNEL_CONFIG_BLOCK used by the osnadmin channel join command. This PR addresses the mismatch.
Type of change
Description
Existing doc generates the genesis block with this command and outputs the result to ./channel-artifacts/channel1.tx .
configtxgen -profile SampleAppGenesisEtcdRaft -outputBlock ./channel-artifacts/channel1.tx -channelID channel1
Then the subsequent step uses --config-block genesis_block.pb which won't work:
osnadmin channel join –-channel-id channel1 --config-block genesis_block.pb -o OSN1.example.com:7050 --ca-file $OSN_TLS_CA_ROOT_CERT --client-cert $ADMIN_TLS_SIGN_CERT --client-key $ADMIN_TLS_PRIVATE_KEY
After discussing with Will, we decide we should change the configtxgen command to be this instead:
configtxgen -profile SampleAppGenesisEtcdRaft -outputBlock genesis_block.pb -channelID channel1