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
This changeset at its core, simply enables embedding a default resource
tree into the output of channel creation transactions which are created
with v1.1 application capabilities.
Unit tests have been added. Additionally, the new channel creation tx
behavior can be confirmed by issuing:
configtxgen -profile SampleSingleMSPChannelV1_1 \
-outputCreateChannelTx foo.tx -inspectChannelCreateTx foo.tx
and observing the resources tree in the JSON output.
Because the utility function for creating the channel creation
transaction is used widely throughout the tests, and the function
parameters needed to change significantly, there is a fair amount of
churn in the tests, but none in production code.
Change-Id: Id719a1ae3f309a0a189f566dc0fef409564b519e
Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
// NewChannelCreateConfigUpdate generates a ConfigUpdate which can be sent to the orderer to create a new channel. Optionally, the channel group of the
283
286
// ordering system channel may be passed in, and the resulting ConfigUpdate will extract the appropriate versions from this file.
Copy file name to clipboardexpand all lines: common/tools/configtxgen/localconfig/config.go
+4
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ const (
52
52
SampleInsecureSoloProfile="SampleInsecureSolo"
53
53
// SampleDevModeSoloProfile references the sample profile which requires only basic membership for admin privileges and uses solo for ordering.
54
54
SampleDevModeSoloProfile="SampleDevModeSolo"
55
+
// SampleDevModeSoloProfileV11 references the sample profile which requires only basic membership for admin privileges and uses solo for ordering, but has v1.1 capabilities enabled
// SampleSingleMSPSoloProfile references the sample profile which includes only the sample MSP and uses solo for ordering.
56
58
SampleSingleMSPSoloProfile="SampleSingleMSPSolo"
57
59
// SampleSingleMSPSoloV11Profile references the sample profile which includes only the sample MSP with v1.1 capabilities defined and uses solo for ordering.
@@ -61,6 +63,8 @@ const (
61
63
SampleInsecureKafkaProfile="SampleInsecureKafka"
62
64
// SampleDevModeKafkaProfile references the sample profile which requires only basic membership for admin privileges and uses Kafka for ordering.
63
65
SampleDevModeKafkaProfile="SampleDevModeKafka"
66
+
// SampleDevModeKafkaProfileV11 references the sample profile which requires only basic membership for admin privileges and uses Kafka for ordering, but has v1.1 capabilities enabled.
// SampleSingleMSPKafkaV11Profile references the sample profile which includes only the sample MSP with v1.1 capabilities defined and uses Kafka for ordering.
0 commit comments