Skip to content

Address review feedback for no-permit EVM offramp fallback#1134

Closed
Copilot wants to merge 2 commits into
stagingfrom
copilot/sub-pr-1133
Closed

Address review feedback for no-permit EVM offramp fallback#1134
Copilot wants to merge 2 commits into
stagingfrom
copilot/sub-pr-1133

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

Fixes three issues identified in review of the no-permit fallback path for ERC-20 tokens without EIP-2612 permit support.

  • nonces() probe error handling: Catch only ContractFunctionExecutionError (contract revert / function-not-found) when probing permit support. Network/transport errors are now re-thrown so the request fails fast instead of silently switching to the no-permit flow on transient RPC issues.

  • waitForUserHash tx validation: Verify receipt.from matches state.walletAddress before advancing the ramp. Prevents a user from supplying an arbitrary successful tx hash to skip token movement.

  • Dedicated no-permit phase messages: Replace misleading "Initializing/Authorizing transfer..." reuse with accurate messages for squidRouterNoPermitApprove, squidRouterNoPermitSwap, and squidRouterNoPermitTransfer phases (EN + PT).

@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit 3cf212f
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/69f8d9a876ba6400077ceef8
😎 Deploy Preview https://deploy-preview-1134--vortexfi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit 3cf212f
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/69f8d9a8d3395b0007396861
😎 Deploy Preview https://deploy-preview-1134--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI changed the title [WIP] Create new production release Address review feedback for no-permit EVM offramp fallback May 4, 2026
Copilot finished work on behalf of ebma May 4, 2026 17:40
Copilot AI requested a review from ebma May 4, 2026 17:40
@ebma ebma closed this May 4, 2026
@ebma ebma deleted the copilot/sub-pr-1133 branch May 4, 2026 17:47
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