optimism
optimism copied to clipboard
Interop: op-supervisor: Recover from failure after some logs in block are written
The log DB API stores a single log at a time, but receipts are fetched for a block at a time. If an error occurs after some logs from a block are written but before they are all written, the database needs to be rewound to the previous block before we can attempt to write block logs again.