public static List<Integer> getSupportedMessages(final int protocolVersion) {
    switch (protocolVersion) {
      case EthProtocolVersion.V66:
        return eth66Messages;
      case EthProtocolVersion.V67:
      case EthProtocolVersion.V68:
        return eth67Messages;
      case EthProtocolVersion.V69:
        return eth69Messages;
      default:
        return Collections.emptyList();
    }
  }
Returns a list of integers containing the supported messages given the protocol version

@param protocolVersion the protocol version
@return a list containing the codes of supported messages
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/EthProtocolVersion.java