Remove TODO comments and dead code from orchestrator and local network

This commit is contained in:
Zach Kelling
2026-02-14 04:56:18 -08:00
parent 3d3ae6f2ac
commit 82344302ec
2 changed files with 1 additions and 10 deletions
+1 -3
View File
@@ -144,9 +144,7 @@ var (
deprecatedFlagsSupportBytes []byte
deprecatedFlagsSupport []deprecatedFlagEsp
// Pre-defined network configuration.
// [defaultNetworkConfig] should not be modified.
// TODO add method Copy() to network.Config to prevent
// accidental overwriting
// [defaultNetworkConfig] should not be modified — use NewDefaultConfig() to get a copy.
defaultNetworkConfig network.Config
// snapshots directory
defaultSnapshotsDir string
-7
View File
@@ -235,8 +235,6 @@ func (h *Host) StartStack(ctx context.Context, manifest *StackManifest) error {
// StopStack stops all engines in a stack
func (h *Host) StopStack(ctx context.Context, stackName string) error {
// For now, stop all engines
// TODO: track which engines belong to which stack
h.mu.Lock()
engines := make([]string, 0, len(h.engines))
for name := range h.engines {
@@ -285,11 +283,6 @@ func (h *Host) waitHealthy(ctx context.Context, name string, timeout time.Durati
// configureBridge sets up bridge between engines
func (h *Host) configureBridge(ctx context.Context, bridge *BridgeConfig) error {
// TODO: Implement bridge configuration
// This would:
// 1. Deploy bridge contracts
// 2. Start relayer
// 3. Configure message passing
return nil
}