Skip to content

[Migration 5-3] Feature: chain-variants/zeta-chain#3447

Merged
tom2drum merged 1 commit into
mainfrom
copilot/3441-arch-migrate-skill
May 18, 2026
Merged

[Migration 5-3] Feature: chain-variants/zeta-chain#3447
tom2drum merged 1 commit into
mainfrom
copilot/3441-arch-migrate-skill

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

Closes #3441

What moved and where

Source Destination
types/client/zetaChain.ts Merged into client/features/chain-variants/zeta-chain/types/client.ts
stubs/zetaChainCCTX.ts client/features/chain-variants/zeta-chain/stubs.ts
mocks/zetaChain/zetaChainCCTX.ts client/features/chain-variants/zeta-chain/mocks/cctx.ts
mocks/zetaChain/zetaChainCCTXConfig.ts client/features/chain-variants/zeta-chain/mocks/cctx-config.ts
ui/zetaChain/useZetaChainConfig.ts client/features/chain-variants/zeta-chain/hooks/useZetaChainConfig.ts
ui/shared/zetaChain/ZetaChainCCTXReducedStatus.tsx client/features/chain-variants/zeta-chain/components/ZetaChainCCTXReducedStatus.tsx
ui/shared/zetaChain/ZetaChainCCTXStatusTag.tsx client/features/chain-variants/zeta-chain/components/ZetaChainCCTXStatusTag.tsx
ui/shared/zetaChain/ZetaChainCCTXValue.tsx client/features/chain-variants/zeta-chain/components/ZetaChainCCTXValue.tsx
client/features/chain-variants/zeta-chain/TxEntityZetaChainCC.tsx (misplaced) client/features/chain-variants/zeta-chain/components/TxEntityZetaChainCC.tsx
client/features/chain-variants/zeta-chain/TxEntityZetaChainExternal.tsx (misplaced) client/features/chain-variants/zeta-chain/components/TxEntityZetaChainExternal.tsx
ui/pages/ZetaChainCCTX.tsx + .pw.tsx + 6 screenshots client/features/chain-variants/zeta-chain/pages/cctx-details/
ui/zetaChain/cctxDetails/ (4 files) client/features/chain-variants/zeta-chain/pages/cctx-details/
ui/pages/TransactionsZetaChain.tsx client/features/chain-variants/zeta-chain/pages/cctx-index/TransactionsZetaChain.tsx
ui/zetaChain/ZetaChainCCTXsTab.tsx + .pw.tsx + 4 screenshots client/features/chain-variants/zeta-chain/pages/cctx-index/
ui/zetaChain/ZetaChainEvmTransactions.tsx client/features/chain-variants/zeta-chain/pages/cctx-index/ZetaChainEvmTransactions.tsx
ui/zetaChain/cctxs/ (5 files) client/features/chain-variants/zeta-chain/pages/cctx-index/
ui/zetaChain/filters/ (8 files) client/features/chain-variants/zeta-chain/pages/cctx-index/

Next.js entry files updated in place:

  • pages/cc/tx/[hash].tsx — import from client/features/chain-variants/zeta-chain/pages/cctx-details/ZetaChainCCTX
  • pages/txs/index.tsx — import from client/features/chain-variants/zeta-chain/pages/cctx-index/TransactionsZetaChain

Import paths updated repo-wide

All imports of old paths replaced with new absolute paths in:

  • client/api/services/zeta-chain.ts
  • deploy/tools/envs-validator/schemas/features/zetaChain.ts
  • client/features/chain-variants/zeta-chain/components/AddressEntityZetaChain.tsx
  • client/features/chain-variants/zeta-chain/components/AddressEntityZetaChain.pw.tsx
  • client/features/chain-variants/zeta-chain/pages/home/LatestZetaChainCCTXItem.tsx
  • client/features/chain-variants/zeta-chain/pages/home/LatestZetaChainCCTXs.tsx
  • client/features/chain-variants/zeta-chain/pages/home/LatestZetaChainCCTXs.pw.tsx
  • All moved files themselves (relative-to-absolute path fixes applied at move time)

Codemods run

No external codemod tools used. All import substitutions applied via sed (not committed):

sed \
  -e "s|from 'types/client/zetaChain'|from 'client/features/chain-variants/zeta-chain/types/client'|g" \
  -e "s|from 'stubs/zetaChainCCTX'|from 'client/features/chain-variants/zeta-chain/stubs'|g" \
  -e "s|from 'mocks/zetaChain/zetaChainCCTX'|from 'client/features/chain-variants/zeta-chain/mocks/cctx'|g" \
  -e "s|from 'mocks/zetaChain/zetaChainCCTXConfig'|from 'client/features/chain-variants/zeta-chain/mocks/cctx-config'|g" \
  -e "s|from 'ui/zetaChain/useZetaChainConfig'|from 'client/features/chain-variants/zeta-chain/hooks/useZetaChainConfig'|g" \
  -e "s|from 'ui/shared/zetaChain/ZetaChainCCTXReducedStatus'|from 'client/features/chain-variants/zeta-chain/components/ZetaChainCCTXReducedStatus'|g" \
  -e "s|from 'ui/shared/zetaChain/ZetaChainCCTXStatusTag'|from 'client/features/chain-variants/zeta-chain/components/ZetaChainCCTXStatusTag'|g" \
  -e "s|from 'ui/shared/zetaChain/ZetaChainCCTXValue'|from 'client/features/chain-variants/zeta-chain/components/ZetaChainCCTXValue'|g" \
  -e "s|from 'client/features/chain-variants/zeta-chain/TxEntityZetaChainCC'|from 'client/features/chain-variants/zeta-chain/components/TxEntityZetaChainCC'|g" \
  -e "s|from 'client/features/chain-variants/zeta-chain/TxEntityZetaChainExternal'|from 'client/features/chain-variants/zeta-chain/components/TxEntityZetaChainExternal'|g"

Cross-slice deps left at legacy paths

None — all dependencies were either part of this migration scope or already in their final client/ paths.

Checklist

  • pnpm lint:tsc passing
  • pnpm lint:eslint:fix clean within client/ (0 errors; pre-existing skip-annotation warnings unrelated to this migration)
  • All source files/folders deleted from old paths (none remain)

…riants/zeta-chain/

Agent-Logs-Url: https://github.com/blockscout/frontend/sessions/c88633f4-e451-4adf-9444-115225797034

Co-authored-by: tom2drum <22130104+tom2drum@users.noreply.github.com>
Copilot AI requested a review from tom2drum May 18, 2026 16:12
@tom2drum tom2drum marked this pull request as ready for review May 18, 2026 16:49
@tom2drum tom2drum merged commit 2d66897 into main May 18, 2026
17 checks passed
@tom2drum tom2drum deleted the copilot/3441-arch-migrate-skill branch May 18, 2026 17:31
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.

[Migration] 5-3: Feature chain-variants/zeta-chain

2 participants