FuelLabs/fuel-core

Handle shrinking of the `--state-rewind-duration` argument

Open

#2,180 opened on Sep 9, 2024

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Rust (57,084 stars) (2,861 forks)batch import
good first issue

Description

Problem overview

Currently, if we decrease the --state-rewind-duration argument, it keeps the old rewind information in the database.

Definition of done

The code should clean up the old rewind information outside the current state rewind window.

Implementation details

Can be tricky to solve it before solving https://github.com/FuelLabs/fuel-core/issues/2095.

Contributor guide