[FAB-14324] move inline func to chain instance
[FAB-14324] move inline func to chain instance

The bundle update updates the chain so it makes sense to attach it to
the chain.

Change-Id: Ifcc60b2a70e2b75a59cd2258f029211fa5386c2e
Signed-off-by: Matthew Sykes <89c6e4c9c1046731a9c37abefc223a83de36a5d9@us.ibm.com>

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