Skip to content

Commit f50327d

Browse files
committed
refactor(actors): remove legacy actor implementations and complete V2 migration
Remove legacy ChainActor and StorageActor implementations in favor of organized module structure. This completes the migration to the V2 actor system with clean separation of concerns. Changes: - Remove legacy single-file actor implementations (chain_actor.rs, storage_actor.rs) - Remove legacy handlers, tests, and supervision files - Update module imports to use new organized structure (actors::chain, actors::storage) - Clean up actors/mod.rs to reflect current architecture - Migrate storage messages to actor-specific module following ChainActor pattern - Complete StorageActor Phase 4 (indexing) and Phase 5 (testing) implementations - Resolve type conflicts between storage messages and global types The actor system now has a clean, organized directory structure: - app/src/actors/chain/ - Complete ChainActor implementation - app/src/actors/storage/ - Complete StorageActor implementation - All legacy monolithic files removed - Module imports updated throughout codebase
1 parent 98171e6 commit f50327d

29 files changed

+4695
-6583
lines changed

app/benches/chain_actor_benchmarks.rs

Lines changed: 0 additions & 556 deletions
This file was deleted.

app/src/actors/chain/handlers/block_handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use tracing::*;
1212
use uuid::Uuid;
1313

1414
use crate::types::*;
15-
use crate::messages::storage_messages::*;
15+
use crate::actors::storage::messages::*;
1616
use super::super::{ChainActor, messages::*, state::*};
1717

1818
/// Configuration for block processing operations

0 commit comments

Comments
 (0)