issues
search
AztecProtocol
/
aztec-packages
Apache License 2.0
207
stars
238
forks
source link
feat: Sequential insertion in indexed trees (WIP)
#10111
Open
sirasistant
opened
4 days ago
sirasistant
commented
4 days ago
Adds sequential (no subtree) insertion in indexed trees
If witnesses are requested, the response includes 2*N witnesses, N for the low leaves and N for the insertions
If no witness is requested, it directly does sparse_batch_update
Updating an item multiple times in the same call is allowed
Uses sequential insertion with witnesses to avoid doing N batch updates of 1 item for the base rollup
Uses sequential insertion without witnesses for syncing, to avoid doing 1 batch insertion per TX in the block