zeko-labs / zeko

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

Run own L1 archive node #139

Open MartinOndejka opened 6 months ago

MartinOndejka commented 6 months ago

We need the history to be able to delay deposits https://github.com/zeko-labs/zeko/pull/136

L-as commented 6 months ago

Can you elaborate? It's not clear to me why we need this to delay deposits.

L-as commented 6 months ago

We should probably run our own L1 archive node and node though. Possibly on a different machine for performance reasons.

MartinOndejka commented 6 months ago

We need to decide which deposits state is "finalised enough", and we should query that from archive node. Running on the same machine has the advantage of the postgres access.

L-as commented 6 months ago

Why can’t you query this from the public ones?

MartinOndejka commented 6 months ago

Because every public archive node has it's own public api. I think this is a good time to run our own node and not depend on any custom api.

L-as commented 6 months ago

FWIW this should be trivial given that the Mina repo already has a NixOS module set up. I'll make a new machine with it some time.