docs: public List<ChaincodeInfo> queryInstalledChaincodes(Peer peer) throws InvalidArgumentException, ProposalException {
  
          clientCheck();
  
          if (null == peer) {
  
              throw new InvalidArgumentException("peer set to null");
  
          }
  
          try {
              //Run this on a system channel.
  
              Channel systemChannel = Channel.newSystemChannel(this);
  
              return systemChannel.queryInstalledChaincodes(peer);
          } catch (ProposalException e) {
              logger.error(format("queryInstalledChaincodes for peer %s failed." + e.getMessage(), peer.getName()), e);
              throw e;
          }
  
      }