App circuit should generate read requests, kernel should validate them #513
Labels
C-protocol-circuits
Component: Protocol circuits (kernel & rollup)
T-refactor
Type: this code needs refactoring
Original discussion: https://discourse.aztec.network/t/to-read-or-not-to-read/178/10
Relevant discussion outlining the tasks below: https://discourse.aztec.network/t/spending-notes-which-havent-yet-been-inserted/180/4
Blocks #512
READ_REQUESTS_LENGTH
, update PrivateCircuitPublicInputs withread_requests
PrivateCallData
withread_request_membership_witnesses
which includes leaf indexes and sibling pathsget()
to no longer do anything related to membership checks (omit leaf indexes and sibling paths in return)get()
to stop populatinghistoric_private_data_tree_root
read_request
and use the correspondingread_request_membership_witness
to computeroot
of data treeroot
must be the same for every iteration in this looproot
can then be set equal to theprivate_kernel_public_inputs.constant_data.old_tree_roots.private_data_tree_root
The text was updated successfully, but these errors were encountered: