EspressoSystems / cape

Configurable Asset Privacy for Ethereum
https://cape.docs.espressosys.com/
GNU General Public License v3.0
93 stars 16 forks source link

Persist EQS state after loop over events #1195

Closed sveitser closed 2 years ago

sveitser commented 2 years ago

This should reduce the number of writes to storage, especially if the EQS has falled behinds and fetches multiple transactions at once.

The downside is that the EQS would have to reprocess events if an error occurs during the loop.

The EQS log level is set to WARN because of tide-rs. As a workaround use WARN for for EQS INFO logs.