Adjust Yaci CLI zip distribution to include the missing values in the latest epoch endpoint, as required by the ApolloTx library

Abierto
#113 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker, java

Línea de trabajo

The Yaci CLI zip points to an older yaci-store version in download.properties, which is the file to start from. Compare it with the patched yaci-store used by the DevKit 0.10.5 Docker build to find the version that adds end_time and the other missing epoch fields. Done means the CLI zip's /api/v1/epochs/latest response includes those fields, as in the Docker build output. The payload does not name the patched version, so confirm it with the maintainers first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The Apollo Tx library needs additional properties, such as end_time, in the output.

http://localhost:8080/api/v1/epochs/latest

In DevKit 0.10.5 Docker build, a patched version of yaci-store has been added to include the missing fields. However, this is not available in the Yaci-CLI zip distribution, as it points to the old version of yaci-store in download.properties.

DevKit 0.10.5 docker build output:

{
  "epoch": 195,
  "start_time": 1742275910,
  "end_time": 1742275940,
  "first_block_time": 0,
  "last_block_time": 0,
  "block_count": 0,
  "tx_count": 0,
  "output": "0",
  "fees": "0",
  "active_stake": "0"
}

Blockfrost output:

Image

Lenguaje dominante
Java
Estrellas
70
Forks
21
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bloxbean/yaci-devkit

Todos los issues de bloxbean/yaci-devkit

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.