zeko-labs / zeko

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

Remove imperativity by moving all assertions to the end #69

Open L-as opened 11 months ago

L-as commented 11 months ago

The imperativity makes it hard to understand what is happening and what is being checked. All checks should be deferred to the end by checking that a list of booleans is all true.

MartinOndejka commented 11 months ago

Also in mina codebase I usually see monadic syntax for cheks, can we use that instead?

L-as commented 11 months ago

yes we should

L-as commented 4 months ago

Important for auditing reasons, is a minor amount of work.