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
The life-cycle system chaincode (lccc) manages chaincodes for a chain in an
endorser. The life-cycle is basically the "deploy", "upgrade", "stop"
and "start" actions. This changeset provides the basic chaincode for
creating the table of chaincodes and implements just the "deploy" command.
This work will be developed till the basic endorser functions are fully
implemented.
This driver for this chaincode will be checked in the next changeset.
NOTE - this change also fixes the limitation where only one system chaincode
can be running at a time.
This is part of the feature development of FAB-181, FAB-182, FAB-183.
Change-Id: Iff36fee7c5b9a9ce4658910db73304a6bcd7e3d4
Signed-off-by: Srinivasan Muralidharan <[email protected]>
Copy file name to clipboardexpand all lines: bddtests/endorser.feature
+4-4
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,15 @@ Feature: Endorser
21
21
Scenario Outline: Basic deploy endorsement for chaincode through GRPC to multiple endorsers
22
22
23
23
Given we compose "<ComposeFile>"
24
-
And I wait "1" seconds
24
+
And I wait "5" seconds
25
25
And I register with CA supplying username "binhn" and secret "7avZQLwcUe9q" on peers:
26
26
| vp0 |
27
27
28
28
When user "binhn" creates a chaincode spec of type "GOLANG" for chaincode "github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" aliased as "cc_spec" with args
29
29
| funcName | arg1 | arg2 | arg3 | arg4 |
30
30
| init | a | 100 | b | 200 |
31
31
And user "binhn" creates a deployment proposal "proposal1" using chaincode spec "cc_spec"
32
-
And user "binhn" sends proposal "proposal1" to endorsers with timeout of "2" seconds:
32
+
And user "binhn" sends proposal "proposal1" to endorsers with timeout of "20" seconds:
33
33
| vp0 | vp1 | vp2 | vp3 |
34
34
And user "binhn" stores their last result as "proposal1Responses"
35
35
Then user "binhn" expects proposal responses "proposal1Responses" with status "200" from endorsers:
@@ -54,7 +54,7 @@ Feature: Endorser
54
54
| init | a | 100 | b | 200 |
55
55
And user "binhn" sets ESCC to "my_escc" for chaincode spec "cc_spec"
56
56
And user "binhn" creates a deployment proposal "proposal1" using chaincode spec "cc_spec"
57
-
And user "binhn" sends proposal "proposal1" to endorsers with timeout of "2" seconds:
57
+
And user "binhn" sends proposal "proposal1" to endorsers with timeout of "20" seconds:
58
58
| vp0 | vp1 | vp2 | vp3 |
59
59
And user "binhn" stores their last result as "proposal1Responses"
60
60
Then user "binhn" expects proposal responses "proposal1Responses" with status "200" from endorsers:
@@ -77,7 +77,7 @@ Feature: Endorser
77
77
| init | a | 100 | b | 200 |
78
78
And user "binhn" sets VSCC to "my_vscc" for chaincode spec "cc_spec"
79
79
And user "binhn" creates a deployment proposal "proposal1" using chaincode spec "cc_spec"
80
-
And user "binhn" sends proposal "proposal1" to endorsers with timeout of "2" seconds:
80
+
And user "binhn" sends proposal "proposal1" to endorsers with timeout of "20" seconds:
81
81
| vp0 | vp1 | vp2 | vp3 |
82
82
And user "binhn" stores their last result as "proposal1Responses"
83
83
Then user "binhn" expects proposal responses "proposal1Responses" with status "200" from endorsers:
//ReadCertAttribute is used to read an specific attribute from the transaction certificate, *attributeName* is passed as input parameter to this function.
@@ -338,11 +337,11 @@ type StateRangeQueryIterator struct {
338
337
// between the startKey and endKey, inclusive. The order in which keys are
0 commit comments