Skip to content

feat: replace old automatic routes with executor routes#4025

Merged
tonyjin merged 2 commits into
developmentfrom
tonyjin/executor-routes-only
Apr 8, 2026
Merged

feat: replace old automatic routes with executor routes#4025
tonyjin merged 2 commits into
developmentfrom
tonyjin/executor-routes-only

Conversation

@tonyjin

@tonyjin tonyjin commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace non-functioning old automatic routes (AutomaticCCTPRoute, AutomaticTokenBridgeRoute, TokenBridgeRoute, TBTCRoute, AutomaticNtt) with executor-based alternatives as defaults. The new DEFAULT_ROUTES are cctpV2FastExecutorRoute, cctpV2StandardExecutorRoute, executorTokenBridgeRoute, and CCTPRoute (manual fallback). All references to removed routes are cleaned up across exports, SampleApp, route filtering, receipt parsing, and validation logic.

Test plan

  • bun run build:lib succeeds
  • bun run lint:ci passes (0 errors)
  • npx tsc --noEmit passes
  • 461 tests pass across 35 test files
  • Manual smoke test: verify executor routes load and produce quotes in SampleApp
  • Verify integrators using custom route configs are unaffected

The old automatic routes (AutomaticCCTPRoute, AutomaticTokenBridgeRoute,
TokenBridgeRoute, TBTCRoute, AutomaticNtt) no longer function. Replace
DEFAULT_ROUTES with executor-based alternatives: cctpV2FastExecutorRoute,
cctpV2StandardExecutorRoute, executorTokenBridgeRoute, plus CCTPRoute as
manual fallback.
Comment thread src/routes/operator.ts

@kev1n-peters kev1n-peters 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.

Looks good, just had a question about the TBTC route

@tonyjin tonyjin merged commit 1f7b029 into development Apr 8, 2026
12 checks passed
@tonyjin tonyjin deleted the tonyjin/executor-routes-only branch April 8, 2026 15:03
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