FAB-16286 IT with forged RWset for LSCC IP failure
FAB-16286 IT with forged RWset for LSCC IP failure

Although the legacy lifecycle is deprecated, the fundamental security
guarantees of the original lifecycle have never had a proper automated
test.  Because so much has changed in the chaincode execution and
lifecycle components, it seems especially prudent to add an automated
test before the v2.0 release.

Unfortunately, automating the instantiation policy checks is not
straightforward, as the peer's LSCC chaincode deliberately checks
instantiation policy and refuses to create non-conformant transactions.

This CR introduces a new instantiation policy integration test, forming
custom self-endorsed transactions with custom (forged) RW sets.  It
performs:

1) A failed lscc deploy because IP is not satisfied
2) A legitimate lscc deploy when IP is satisfied
3) A failed lscc upgrade because IP is not satisfied
4) A legitimate lscc upgrade when IP is satisfied

Signed-off-by: Jason Yellick <3a1724207862302656e55e6f840a9996dad69e59@us.ibm.com>
Change-Id: I14846f8d22fbc67c9bbaa98d551eedf533586153

manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,stemlending/fabric,hyperledger/fabric,manish-sethi/fabric-sidedb,jimthematrix/fabric,stemlending/fabric,stemlending/fabric,stemlending/fabric,muralisrini/fabric,binhn/fabric,binhn/fabric,manish-sethi/fabric-sidedb,jimthematrix/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,manish-sethi/fabric,manish-sethi/fabric,hyperledger/fabric,muralisrini/fabric,binhn/fabric,manish-sethi/fabric-sidedb