zeko-labs / zeko

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

Allow deposits with only 1 commit #102

Open L-as opened 7 months ago

L-as commented 7 months ago

Right now you have to submit the action, commit, process it, commit again for it to be finalised (modulo L1 rollbacks).

We should be able to do this with only one commit by processing it tentatively and checking it's correct commit-time.

L-as commented 7 months ago

Possible solution:

Allow more than one inner step per outer step. For each outer deposit submission, sequencer adds inner step that updates all_deposits.

MartinOndejka commented 4 months ago

Related #112

L-as commented 2 months ago

Made less important by the fact that even if we supported this now, rollbacks would cause wasted work.