Skip to content

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

@satran004

Description

@satran004

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions