mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
This CR adds unit test code to the ABAC sample Chaincode to show how to use MockStub for Chaincode that uses the `cid` package. To test the access control in Chaincode method, Creator field in MockStub is set by reading mspID and certificate with attributes. FAB-13769 #done Change-Id: Iddc5ea105b25afcc18b8ff54cf359d2b9406e829 Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com> |
||
|---|---|---|
| .. | ||
| abac/go | ||
| chaincode_example02 | ||
| fabcar | ||
| marbles02 | ||
| marbles02_private | ||
| sacc | ||