Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Versioned Storage for Modifications History (#2233)
## Linked Issues/PRs <!-- List of related issues/PRs --> Related to #2095 ## Description <!-- List of detailed changes --> - [ ] Adds a ModificationsHistoryV2 column in the Historical RocksDB, with keys encoded in big endian - [ ] Adds a flag to the historical RocksDB that keeps track whether the migration is still in progress - [ ] Change HistoricalRocksDB to alway insert historical changes from V2 table. When the migration is in progress, delete key-value pairs from both V2 and V2, read key-value pairs from V2 falling back to V1 if no value in V2 is found #TODO (either this or next MR): - [x] Small task that performs the migration of key-value pairs from V1 to V2 (Done in #2260) ## Checklist - [ ] Breaking changes are clearly marked as such in the PR description and changelog - [x] New behavior is reflected in tests - [ ] [The specification](https://github.com/FuelLabs/fuel-specs/) matches the implemented behavior (link update PR if changes are needed) ### Before requesting review - [ ] I have reviewed the code myself - [ ] I have created follow-up issues caused by this PR and linked them here ### After merging, notify other teams [Add or remove entries as needed] - [ ] [Rust SDK](https://github.com/FuelLabs/fuels-rs/) - [ ] [Sway compiler](https://github.com/FuelLabs/sway/) - [ ] [Platform documentation](https://github.com/FuelLabs/devrel-requests/issues/new?assignees=&labels=new+request&projects=&template=NEW-REQUEST.yml&title=%5BRequest%5D%3A+) (for out-of-organization contributors, the person merging the PR will do this) - [ ] Someone else? --------- Co-authored-by: Green Baneling <[email protected]>
- Loading branch information