Skip to content

docs: clarify ERC20 post-op paymaster revert risk#1178

Merged
jakehobbs merged 2 commits intomainfrom
jake/erc-20-post-op-revert-details
Apr 3, 2026
Merged

docs: clarify ERC20 post-op paymaster revert risk#1178
jakehobbs merged 2 commits intomainfrom
jake/erc-20-post-op-revert-details

Conversation

@jakehobbs
Copy link
Copy Markdown
Contributor

Summary

  • Clarifies that post-op token paymasters inject an approval into the same atomic call batch, so if any call reverts the approval reverts too and the policy owner pays gas without token compensation
  • Updates the "Token gas payment modes" accordion with clearer guidance on when to use pre-op vs post-op mode
  • Simplifies the intro to a concise risk summary with a pointer to the detailed accordion

Test plan

  • Verify page renders correctly on staging
  • Confirm accordion content is accurate

🤖 Generated with Claude Code

Post-op token paymasters inject an approval into the same atomic call
batch. If any call reverts, the approval reverts too and the policy
owner pays gas without token compensation. Updated docs to make this
risk explicit and clarify when to use pre-op mode instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Apr 3, 2026, 6:01 PM

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c0ab81c44a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Existing allowances (from threshold mode or prior approvals) are not
affected by batch reverts — the paymaster can still collect. Only
approvals injected into the same atomic batch are reverted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

🔍 Link Check

Status: ❌ Failed

Summary

Status Count
🔍 Total 7200
✅ Successful 6095
⏳ Timeouts 0
🔀 Redirected 380
👻 Excluded 674
❓ Unknown 0
🚫 Errors 51
⛔ Unsupported 0
Broken links (51) — click to expand

Errors per input

Errors in ./content/api-reference/op-mainnet/op-mainnet-api-faq/op-mainnet-api-faq.mdx

Errors in ./content/changelog/2026-03-26.md

Errors in ./content/api-reference/arbitrum/arbitrum-api-faq/arbitrum-api-faq.mdx

Errors in ./content/api-reference/hyperevm/hyperevm-api-overview.mdx

View workflow run

@jakehobbs jakehobbs merged commit 239b065 into main Apr 3, 2026
7 of 8 checks passed
@jakehobbs jakehobbs deleted the jake/erc-20-post-op-revert-details branch April 3, 2026 18:23
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.

4 participants