Skip to content

fix: align relayer fee-bump route for issue 32#883

Open
Maximum-Prosper wants to merge 1 commit into
edehvictor:mainfrom
Maximum-Prosper:codex-fix-32-fee-bump-alias
Open

fix: align relayer fee-bump route for issue 32#883
Maximum-Prosper wants to merge 1 commit into
edehvictor:mainfrom
Maximum-Prosper:codex-fix-32-fee-bump-alias

Conversation

@Maximum-Prosper

Copy link
Copy Markdown
Contributor

Summary

Fix the gasless onboarding flow for issue #32 by aligning the fee-bump relayer route across the backend and callers.

What changed

  • Added a backward-compatible backend alias for the legacy fee-bump endpoint:
    • /relay/sign-fee-bump
    • /api/relayer/fee-bump
  • Updated the rebalance executor to call the canonical relayer route.
  • Kept the frontend fee-bump calls on the canonical relayer route.
  • Added route coverage to prevent regressions.

Why

The relayer handler existed, but one server-side caller still used the legacy /relay/sign-fee-bump path while the backend mounted /api/relayer/fee-bump. That mismatch could break fee-bumped transactions for onboarding and rebalance flows.

Verification

  • Added regression coverage for both:
    • server/src/__tests__/routeAudit.test.ts
    • server/src/__tests__/deploymentSmoke.test.ts
  • Confirmed the code paths now use the same canonical fee-bump endpoint.

Notes

  • The legacy alias is kept temporarily for compatibility.
  • This preserves existing behavior while reducing the chance of another route mismatch.warnings

Closes #32

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@Maximum-Prosper is attempting to deploy a commit to the Edeh Victor's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Implement Gasless Transactions (Fee Bumping) for User Onboarding

1 participant