refactor(sequencer, storage): move rocksdb communication to StorageActor - #798
Open
Arjentix wants to merge 2 commits into
Open
refactor(sequencer, storage): move rocksdb communication to StorageActor#798Arjentix wants to merge 2 commits into
StorageActor#798Arjentix wants to merge 2 commits into
Conversation
Arjentix
force-pushed
the
arjentix/continue-storage-refactor
branch
from
August 26, 2026 21:21
6b1135b to
2907759
Compare
moudyellaz
reviewed
Aug 31, 2026
Arjentix
force-pushed
the
arjentix/continue-storage-refactor
branch
from
September 1, 2026 20:16
2907759 to
4b2dbdf
Compare
Arjentix
force-pushed
the
arjentix/continue-storage-refactor
branch
from
September 1, 2026 21:28
4b2dbdf to
389b761
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Purpose
This is a big refactor of our storage. This PR reimplements rocksdb communication from scratch and moves it to
StorageActor. Also some protocol types where rethinked.⚙️ Approach
actorfeature to actor crates which helps dependent actors not to build extra actor and it's dependencies when they need just trait and protocolSequencerCoretoStorageActordb.rs: agnostic wrapper aroundrocksdbcrateentities.rs: encoding entities (ex. cells)encoding.rs: encoding utilitiesactor.rs: high-level management of dbStorageActorwhere refactored and cleanedstorage/src/sequencer/module🧪 How to Test
🔗 Dependencies
None
🔜 Future Work
storagecratestoragecrate entirely📋 PR Completion Checklist