Skip to content

feat: add chain-family routing for multi-chain wallet support (po-8b5k)#6

Merged
linuxninja39 merged 4 commits into
mainfrom
merge/po-wisp-edbe
Feb 25, 2026
Merged

feat: add chain-family routing for multi-chain wallet support (po-8b5k)#6
linuxninja39 merged 4 commits into
mainfrom
merge/po-wisp-edbe

Conversation

@linuxninja39
Copy link
Copy Markdown
Contributor

Summary

  • Implements ChainFamilyRouter domain service per enterprise directive en-o8w
  • Groups TrackedAddress[] by chainFamily and dispatches to correct integration BC (evm-integration, sol-integration, etc.)
  • Cross-chain-family deduplication rules (never deduplicate across chain families, only within same family per en-fr0z rules)
  • Refactored PortfolioAggregationService to use chain-family routing
  • 38 new tests (30 unit, 4 integration, 4 e2e) — all 269 tests pass

Source

  • Issue: po-8b5k
  • Polecat: furiosa
  • MR bead: po-wisp-edbe

Tests for ChainFamilyRouter domain service, chain-family-aware routing
in PortfolioAggregationService, and e2e cross-chain-family deduplication.
All tests expected to fail until production code is written.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: PortfolioAggregation/polecats/furiosa
Rig: PortfolioAggregation
Role: polecats
Implements chain-family routing per enterprise directive en-o8w:
- ChainFamilyRouter domain service with family grouping, address routing,
  single/multi-chain semantics, and integration source mapping
- Refactored PortfolioAggregationService.getRelevantAddresses() to use
  chain-family routing instead of hardcoded chain lists
- Cross-chain-family deduplication: never dedup across families, only within
- Exported ChainFamily, ChainFamilyRouter, chainToFamily, CHAIN_FAMILY_CHAINS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: PortfolioAggregation/polecats/furiosa
Rig: PortfolioAggregation
Role: polecats
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: PortfolioAggregation/polecats/furiosa
Rig: PortfolioAggregation
Role: polecats
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: PortfolioAggregation/polecats/furiosa
Rig: PortfolioAggregation
Role: polecats
@linuxninja39 linuxninja39 merged commit 31c60d8 into main Feb 25, 2026
1 check passed
@linuxninja39 linuxninja39 deleted the merge/po-wisp-edbe branch February 25, 2026 17:58
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.

1 participant