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

Aperta
#113 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, java

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Java
Stelle
70
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bloxbean/yaci-devkit

Tutte le issue di bloxbean/yaci-devkit

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.