mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
Remove TODO comments and dead code from orchestrator and local network
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user