zeko-labs / zeko

Zeko: zk-Rollup for Mina, a succinct blockchain
https://zeko.io
Apache License 2.0
23 stars 3 forks source link

Fix transfers fetching #212

Closed MartinOndejka closed 2 months ago

MartinOndejka commented 2 months ago

Fixes few issues:

  1. The graphql schema type naming.
  2. The archive gql should error out on incorrect filter.
  3. The sequencer was crashing on invalid input for transfers proving.
  4. The archive query for actions is inclusive from both sides (fromActionState and endActionState). The actionState pointer however is always the state after applying of the action. So if you have actions x, y, z, and states X := hash(init, x), Y := hash(X, y), Z := hash(Y, z), the filter from Y to Z returns both y, z.