Skip to content

feat: Add experimental ERC-8132: Gas Limit Override Capability support#4271

Open
ajhodges wants to merge 3 commits intowevm:mainfrom
ajhodges:erc8132-experimental
Open

feat: Add experimental ERC-8132: Gas Limit Override Capability support#4271
ajhodges wants to merge 3 commits intowevm:mainfrom
ajhodges:erc8132-experimental

Conversation

@ajhodges
Copy link
Copy Markdown

This PR adds experimental support for ERC-8132: Gas Limit Override Capability.
ERC-8132 introduces a call-level capability for EIP-5792 that allows apps to specify gas limits for individual calls in a wallet_sendCalls batch. This addresses cases where apps have better context for gas estimation than wallets (e.g., calls with nondeterministic behavior).

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 26, 2026

@ajhodges is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 26, 2026

🦋 Changeset detected

Latest commit: 8baba60

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

ajhodges added 3 commits March 4, 2026 16:42
…x exports

- Wrap wallet_sendCalls request in try/catch with getTransactionError
- Convert test assertions from toEqual to toMatchInlineSnapshot
- Import accounts from ~test/constants.js instead of hardcoding
- Export action types from experimental barrel with Erc8132 prefix
- Remove unnecessary unknown type annotation on map param
@ajhodges ajhodges force-pushed the erc8132-experimental branch from 4254beb to 8baba60 Compare March 4, 2026 21:42
@ajhodges ajhodges marked this pull request as ready for review March 4, 2026 22:00
@jxom jxom force-pushed the main branch 2 times, most recently from bdf8494 to 69e0d6e Compare March 13, 2026 22:42
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