o1-labs / Archive-Node-API

This is a GraphQL server that is built with the intention of exposing information from Mina's Archive Node
17 stars 4 forks source link

Archive node silently returns an empty array when given a non-existing fromActionState #77

Closed mitschabaude closed 6 months ago

mitschabaude commented 1 year ago

When querying getActions with a non-existing fromActionState, the API returns an empty array.

This behavior is unexpected to me. I would have expected an error to be returned.

MartinMinkov commented 6 months ago

Fixed with https://github.com/o1-labs/Archive-Node-API/pull/102