Skip to content

Commit 5d091c4

Browse files
committed
[FAB-6751] Remove encshim interface
encshim exposed a confusing interface to permit chaincode-level encryption since it wrapped GetState and PutState but it didn't wrap GetStateByRange (which had to be handled directly with EncrypterEntity). This change set fixes that, removing encshim and amending the example to show how encryption can be performed only by using the entitites interface. Change-Id: Ice24f9655baccd7d574b2878f689edfb0af86f67 Signed-off-by: Alessandro Sorniotti <ale.linux@sopit.net>
1 parent d558e44 commit 5d091c4

File tree

6 files changed

+190
-336
lines changed

6 files changed

+190
-336
lines changed

core/chaincode/shim/ext/encshim/encshim.go

Lines changed: 0 additions & 81 deletions
This file was deleted.

core/chaincode/shim/ext/encshim/encshim_test.go

Lines changed: 0 additions & 131 deletions
This file was deleted.

core/chaincode/shim/ext/encshim/interfaces.go

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)