@Override
  public EthProtocolConfiguration toDomainObject() {
    return EthProtocolConfiguration.builder()
        .maxMessageSize(maxMessageSize)
        .maxGetBlockHeaders(maxGetBlockHeaders)
        .maxGetBlockBodies(maxGetBlockBodies)
        .maxGetReceipts(maxGetReceipts)
        .maxGetNodeData(maxGetNodeData)
        .maxGetPooledTransactions(maxGetPooledTransactions)
        .maxEthCapability(maxEthCapability)
        .minEthCapability(minEthCapability)
        .build();
  }
From config eth protocol options.

@param config the config
@return the eth protocol options
app/src/main/java/org/hyperledger/besu/cli/options/EthProtocolOptions.java