Skip to content

ci(walletkit-maestro): default the Permit2 reset RPC to drpc - #661

Merged
ignaciosantise merged 1 commit into
mainfrom
ci/permit2-reset-drpc
Oct 30, 2026
Merged

ignaciosantise merged 1 commit into
mainfrom
ci/permit2-reset-drpc

Conversation

@ignaciosantise

Copy link
Copy Markdown
Collaborator

Why

The Permit2 allowance-reset step sends its revoke transaction. When it then asks publicnode for the receipt, the RPC answers with a 403:

Failed to revoke Permit2 approval: bad response (status=403, …
  "Archive requests require a personal token. Get one at: https://www.allnodes.com/publicnode"
  requestBody={"method":"eth_getTransactionReceipt",…}

For example, in the latest main run, the Android leg (job 124054042840) sent tx 0x29a49a7f… and then failed this way. The step doesn't fail the job, so it looks fine, but it never confirms the revoke. If one didn't land, nothing would notice, and the next run would skip the approve step it's meant to exercise.

What

  • walletkit-build-and-maestro: the polygon-rpc-url input now defaults to https://polygon.drpc.org. ci_e2e_walletkit.yaml doesn't pass this input, so all three legs pick up the new default. So does any other caller that doesn't pass its own RPC (e.g. pay-core).
  • e2e-balance-check.yml keeps publicnode, because it only makes eth_call / eth_getBalance calls, which still work.

Test plan

  • The same change in reown-swift (reown-swift#362, run 41063448359): the step now logs Revoke successful in block 96441340. The wallet's USDT → Permit2 allowance is 0 afterwards. The matching Kotlin change is reown-kotlin#441.
  • From a local machine, drpc answers eth_chainId, eth_getTransactionCount, eth_gasPrice, eth_estimateGas for the revoke, and eth_getTransactionReceipt for a receipt publicnode refused.
  • Run 🧪 WalletKit - E2E Tests via workflow_dispatch on this branch: each leg's reset step logs Revoke successful with no 403.

🤖 Generated with Claude Code

publicnode answers eth_getTransactionReceipt with a 403 ("Archive
requests require a personal token"), so the revoke was sent but the
step always reported a failure.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated
pos-demo Ignored Ignored Preview Oct 30, 2026 1:52pm UTC
react-native-appkit Ignored Ignored Preview Oct 30, 2026 1:52pm UTC
react-native-walletkit Ignored Ignored Preview Oct 30, 2026 1:52pm UTC

Request Review

@claude

claude Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Claude finished @ignaciosantise's task in 46s —— View job


Review in progress

  • Read changed file
  • Check for issues
  • Post final review

@ignaciosantise
ignaciosantise marked this pull request as ready for review October 30, 2026 13:53
@ignaciosantise
ignaciosantise merged commit 351fe63 into main Oct 30, 2026
16 checks passed
@ignaciosantise
ignaciosantise deleted the ci/permit2-reset-drpc branch October 30, 2026 13:53
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.

1 participant