Network environment of Fabric-sdk-go test case

(1) Execute make crypto-gen

Essentially execute the following command,
Insert picture description here
use cryptogen.yaml in the config directory, and generate a digital certificate in the specified directory after execution.
Insert picture description here

(2) Execute make channel-config-gen

It is equivalent to the following command
Insert picture description here
using configtx.yaml to generate 1 genesis block file (twoorgs.genesis.block) and 4 channels (dschannelext, dschannelsdk, mychannel, orgchannel), where dschannelext and dschannelsdk create 2 organizations (org1msp ,org2msp). Each organization can construct a block chain separately and have an independent ledger.
Insert picture description here

(3) With the above network environment, unit-test and integration-test tests can be performedInsert picture description here

Guess you like

Origin blog.csdn.net/qq_18807043/article/details/105683230