You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(shard): replace ShardRegistry with pluggable ShardManager trait
Introduce a `ShardManager` trait that abstracts shard storage and
creation policy, replacing the hard-coded `ShardRegistry`. The current
lazy-creation behavior is preserved in `LazyShardManager` (dev mode),
while a future `OnchainShardManager` can provide production semantics
where shards are created from onchain events instead of RPC requests.
Also extract the `ShardApiServer` implementation into a generic
`ShardRpc<P: ShardProvider>` in rpc-server, with the node crate
providing the concrete `NodeShardProvider` implementation. This moves
the RPC delegation boilerplate out of the node crate and keeps the
node's bridge code focused on shard resolution and scheduling.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments