Open
Description
First add the committed deposit logs hash as public input to the execution program of each zkvm. Then, in the program:
- For each
PrivilegedL2Transaction
in the block (transaction type used exclusively for deposits):- Recreate the deposit log from the transaction fields (value, to, deposit_id)
- Push the log into an outer vec
- Hash the log vec (the same way the committer does). This should be the committed deposit log hash.
- Check that the resulting hash equals the public input one.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status