Skip to content

fix(deposits): add the permit routes to the proxy recipe - #210

Open
kopy-kat wants to merge 1 commit into
mainfrom
fix/widget-proxy-permit-routes
Open

fix(deposits): add the permit routes to the proxy recipe#210
kopy-kat wants to merge 1 commit into
mainfrom
fix/widget-proxy-permit-routes

Conversation

@kopy-kat

@kopy-kat kopy-kat commented Aug 20, 2026

Copy link
Copy Markdown
Member

The gasless permit deposit path calls POST /deposits/permit/prepare and POST /deposits/permit. Neither was in the reference proxy's ROUTES allowlist or the route table below it, so a client who copies the recipe gets a 404 on both and loses the gasless path — with nothing naming the cause, which is the usual shape of a proxy gap.

Both are safe to forward for exactly the reason /deposits/recover already is, and the recipe now says so: the user's token authorization signature in the body is what moves the funds, so the integrator's API key alone cannot.

Checked the recipe against every route the modal actually calls on main rather than only adding the two I came for — these were the only gaps in either direction. In particular /chains is present and already marked required.

Closes RHI-6052

🤖 Generated with Claude Code

The gasless permit deposit path calls POST /deposits/permit/prepare and
POST /deposits/permit, and neither was in the reference proxy's route
allowlist or the route table. A client who copied the recipe gets 404s on
both and loses the gasless path with nothing naming the cause.

Both are safe to forward for the same reason /deposits/recover is: the
user's token authorization signature in the body is what moves the funds,
so the API key alone cannot.

RHI-6052

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kopy-kat kopy-kat added the ship Agent approval is enough; merge when CI green label Aug 20, 2026
@mintlify

mintlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rhinestone 🟢 Ready View Preview Aug 20, 2026, 2:42 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@rhinestone-kevin rhinestone-kevin Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Trivial change — approved without a full review.


Kevin score: 2/10 · impact 2 · economy 0

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

Labels

ship Agent approval is enough; merge when CI green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant