Layr-Labs / eigenda

Secure, high-throughput, and decentralized Data Availability
https://www.eigenlayer.xyz/
Other
220 stars 168 forks source link

[batcher] Recover blob state #657

Closed ian-shim closed 2 months ago

ian-shim commented 2 months ago

Why are these changes needed?

If batcher crashes in the middle of processing blobs, it could leave blob state stale, i.e. blobs in DISPERSING state may never get processed. This PR adds a RecoverState method that triggers at batcher initialization and updates all blobs in DISPERSING state into PROCESSING, so that they can be retried.

Checks