Skip to content

refactor: extract mpc-chain-hydration - #1065

Open
isSerge wants to merge 6 commits into
developfrom
isserge/refactor-extract-hydr
Open

refactor: extract mpc-chain-hydration#1065
isSerge wants to merge 6 commits into
developfrom
isserge/refactor-extract-hydr

Conversation

@isSerge

@isSerge isSerge commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR aims to decouple Hydration chain integration from mpc-node by moving into a separate crate:

  • Create mpc-chain-hydration crate in the workspace, move config, indexer and publisher
  • Update HydrationIndexer to implement ChainIndexer trait and listen to CancellationToken
  • Update wiring in cli/mod.rs to use run_supervised (consistent with other chain integrations)
  • Update imports in integration tests

@isSerge
isSerge marked this pull request as ready for review July 27, 2026 15:24

@ChaoticTempest ChaoticTempest left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes for the most part look good to me, but I'm always skittish when we don't have any integration tests. Can we hold moving this to supervisor / chain indexer abstraction until we have a local hydration node testing the whole flow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants