- 26 Apr, 2018 10 commits
-
-
Matthew Sykes authored
Change-Id: I15d11c3b000b58abd26be460281748e515b2515d Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Jonathan Levi (HACERA) authored
-
Christopher Ferris authored
-
Jason Yellick authored
-
Jason Yellick authored
-
yacovm authored
State operations require retrieving a query executor which should be released. Therefore, we need an indirection level when we obtain the state in order to first obtain the query executor, execute the plugin and finally call Done() to release the query executor's resources. Change-Id: Idba69a2a8b1ba3d360bfc4858a0f98b6a11cc56e Signed-off-by:
yacovm <yacovm@il.ibm.com>
-
Christopher Ferris authored
-
Christopher Ferris authored
-
Artem Barger authored
-
David Enyeart authored
-
- 25 Apr, 2018 19 commits
-
-
yacovm authored
The Tree.Clone() method skips the data field when it clones a tree. Change-Id: Ia01490b81e1aa10f801263b9fa6b56a6fba9d76b Signed-off-by:
yacovm <yacovm@il.ibm.com>
-
Matthew Sykes authored
We should strive to make things side-effect free and the path can easily be set before creating chaincode support. Also, delete unused constants. Change-Id: I19eeab993cb86cd0741548aa6a1110d43551e4d2 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Matthew Sykes authored
Add explicit unit tests for TransactionContext Change-Id: I28323e43483397eff45b5100989750a464744ec0 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Matthew Sykes authored
Extract and explicitly unit test this object. Change-Id: I2585b2582ab5bfbd6a6f6c5791323e7de05835be Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Matthew Sykes authored
HandlerRegistry is used to track handlers based on the canonical name of the chaincode. In addition to tracking handlers, it helps encapsulate the launch and registration protocol. Change-Id: I8013fca1dffa0d4a1cc28c6992fef5f51768a482 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
manish authored
This CR fixes a minor bug - an iterator need to be released. Change-Id: Ia3425982a2fb7f993aed95b12f90915ec6bf8d85 Signed-off-by:
manish <manish.sethi@gmail.com>
-
Jason Yellick authored
* changes: [FAB-9685] Move IsDevMode to config and add tests [FAB-9687] Fix vet issues in chaincode tests [FAB-9623] theChaincodeSupport is finally dead
-
Yacov Manevich authored
-
Jason Yellick authored
-
Matthew Sykes authored
Change-Id: I28ecc354b4621dfee93ae37faf84956c9db5c3d7 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Matthew Sykes authored
Change-Id: Ibe6a0f0072f358c4c9582f9b644718653d9c653c Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Saad Karim authored
Change-Id: I8f8212009df3ccf42955e23adf299d02cc1c6bf7 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Jason Yellick authored
The assorted singletons in the peer code are a constant obstacle to writing testable code. This CR removes the sysccprovider singleton and instead takes the interface implementation as context when necessary. Change-Id: Iffc690c6649ff80cc9e43970cb47a2b179564734 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
-
Jason Yellick authored
The orderer default channel name for the orderer system channel was recently modified to be test_orderer_system_channel. Underscores are not legal characters in channel IDs though, so the orderer panics at startup. This CR simply changes the underscores to dashes. Change-Id: I4e826a5abc4c0d42cda7e362fbd7a6054c044d23 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
-
Jason Yellick authored
-
Yacov Manevich authored
-
nirro authored
also added implementation of stub setEvent function in mockStub and a check in lscc_test TestUpgrade unit test Change-Id: I56ae9b6a3bd06ae6db0065c1b8a8aba284e4b892 Signed-off-by:
nirro <nirro@il.ibm.com>
-
Matthew Sykes authored
Switch to use Eventually to validate the container is deleted. The naming function was also change to lower-case the generated name. Change-Id: I82a423058dda011ad0b1c041d1b04ef7edb9b639 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Gari Singh authored
-
- 24 Apr, 2018 11 commits
-
-
Yacov Manevich authored
-
Kostas Christidis authored
* changes: [FAB-9600] s/handler/h/g [FAB-9599] s/chaincodeSupport/cs/g [FAB-9591] Make active transactions an object [FAB-9590] Convert tx context map to object [FAB-9589] add ccprovider.ChaincodeSpecGetter
-
Srinivasan Muralidharan authored
-
Jason Yellick authored
-
Jason Yellick authored
The CCID struct has a ChainID field. This field affects the output of GetName(). There is a comment in GetName() indicating that if unset, the chaincode must be a chainless system chaincode, however, this field is in fact never set. If it were, the rest of the chaincode container logic would break, and we would spawn a container per chaincode per channel, instead of just per chaincode. This CR removes this unused field and the logic in GetName around it. Change-Id: I9f666d7f2c2942372a363bc301f275c56fe55228 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
-
yacovm authored
This change set adds interfaces for the pluggable endorsement and validation. Change-Id: I51d1cbf55e7b01ec0bf173fe9a92f953591af448 Signed-off-by:
yacovm <yacovm@il.ibm.com>
-
Gari Singh authored
-
Gari Singh authored
-
Gari Singh authored
-
Gari Singh authored
-
Srinivasan Muralidharan authored
as suggested by https://github.com/golang/lint/issues/397 Change-Id: Ib70aeac594e5c02e45226c77fe33d8f5df26445d Signed-off-by:
Srinivasan Muralidharan <srinivasan.muralidharan99@gmail.com>
-