code: public Collection<ProposalResponse> sendUpgradeProposal(UpgradeProposalRequest upgradeProposalRequest) throws ProposalException, InvalidArgumentException {
  
          return sendUpgradeProposal(upgradeProposalRequest, getChaincodePeers());
  
      }
docs: Send Upgrade proposal proposal to upgrade chaincode to a new version.
  
  @param upgradeProposalRequest
  @return Collection of proposal responses.
  @throws ProposalException
  @throws InvalidArgumentException
  @deprecated See new Lifecycle chaincode management.  {@link Channel#sendLifecycleApproveChaincodeDefinitionForMyOrgProposal(LifecycleApproveChaincodeDefinitionForMyOrgRequest, Peer)}