tangle-network / relayer

🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22 stars 13 forks source link

Fix partial writes #517

Closed salman01zp closed 1 year ago

salman01zp commented 1 year ago

Summary of changes

store.insert_leaves()
// This is the last deposit event block number
store.insert_last_deposit_block_number()
// This will be used by the event watcher to track the block number that has been processed
store.set_last_block_number()

Reference issue to close (if applicable)


Code Checklist