# EPF6 - Week 13 ## Overview - Attended core dev call and shared updates - Focused on the initial integration of Kurtosis into Simulation by starting to remove Docker-based components, after receiving PR feedback to make the old and new `interfaces.ts` consistent. A **new commit** was added to the PR as a direct answer to this feedback. - **PR new commit**: Migration effort centered around interfaces.ts and Docker-specific types, replacing them with Kurtosis equivalents - This transition introduced a series of errors that are currently being resolved ## Main points ### Refactoring work - Began removing **Docker-based components** and types (`JobOptions`, `RunnerEnv`, etc.) from `interfaces.ts` - Introduced **Kurtosis-specific** types (`KurtosisNetworkConfig`, `KurtosisServicesMap`) as replacements - Refactored BeaconNode, ValidatorNode and ExecutionNode with Kurtosis types - Updated references in Simulation to start depending on KurtosisRunner instead of the old Docker runner ### Errors encountered - Removal of Docker-specific types broke imports in several files - New Kurtosis types required adapting function signatures, which uncovered further mismatches - `initWithKurtosisConfig()` still needs integration and adjustments to align with the new type structure ### Integration status - Assertions remain **unchanged** (still expect NodePair input). - As expected, early tests revealed gaps between the old Docker-based NodePair creation and the new Kurtosis-based approach - Work ongoing to clean up errors and stabilization ## Learnings & Outcomes - Transitioning from Docker types to Kurtosis types is not one-to-one, it requires **systematic interface** redesign - Errors from broken imports highlighted just how deep **Docker dependencies** were embedded - **Migration will be iterative**: remove old types in stages, replace with Kurtosis equivalents, then fix downstream breakages - Reinforced that assertions can stay untouched, but the infrastructure needs extensive **refactoring** ## Week 14 TODOs - Collect feedback on the new PR logic and approach before proceeding further - Continue **resolving errors** caused by Docker type removals in `interfaces.ts` and related files. - Work on completing the integration of `initWithKurtosisConfig()` into Simulation - Validate that the new Kurtosis-based NodePair creation aligns with assertion requirements - Refine `.yml` configuration mapping to ensure parity with existing `multiFork.test.ts` - Collect team feedback on the direction of this integration before deeper refactors