chaincode commit #fabric-chaincode


when chaincode is committed in version 2.x, it is installed with the block that is created on blockchain? and with the code inside that block we interact when we invoke transactions? or just we interact with code that is packaged in the peer container inside path /var/hyperledger/production/lifecycle/chaincodes?
Tnank you.