public static Bytes versionForExtraData() {
    final var nameAndVersion = ("besu " + VERSION).getBytes(StandardCharsets.UTF_8);
    return Bytes.wrap(nameAndVersion, 0, Math.min(32, nameAndVersion.length));
  }
Generate version suitable to be used in the extra data field of a block header

@return Besu version in format such as "v23.1.0" or "v23.1.1-dev-ac23d311" as UTF-8 encoded
    bytes
util/src/main/java/org/hyperledger/besu/util/BesuVersionUtils.java