You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAB-1230 - use **TEST_CHAINID** for tests and skeleton
https://jira.hyperledger.org/browse/FAB-1230
Orderer sets the stage for multichain by forcing brodcast
and deliver clients to specify ChainID. The solo orderer
provides a default chain called **TEST_CHAINID** to continue
development with.
It would have been easy to hard code **TEST_CHAINID** in
the lower most utility calls to continue work - basically
inside protos/utils/ functions.
However, this changeset takes the next step fo moving to
using multichain by exposing chainID in core APIs thus
forcing higher layers to deal with chains. Currently these
high layers are unit tests, CLI and SDK.
CLI accepts chain ID via the "-C" param which when not provided
defaults to **TEST_CHAINID**.
Change-Id: I0d7894c8f17ce8fae6fe075c9865afae58499005
Signed-off-by: Srinivasan Muralidharan <[email protected]>
0 commit comments