Skip to content

docs: Add ERC-8132 gasLimitOverride capability documentation#1237

Merged
youssefea merged 2 commits intomasterfrom
docs/erc-8132-gas-limit-override
Mar 20, 2026
Merged

docs: Add ERC-8132 gasLimitOverride capability documentation#1237
youssefea merged 2 commits intomasterfrom
docs/erc-8132-gas-limit-override

Conversation

@ajhodges
Copy link
Contributor

@ajhodges ajhodges commented Mar 20, 2026

What changed? Why?

Added documentation for the new ERC-8132 (Gas Limit Override) capability, recently added to the Base Account SDK.

  • New page: gasLimitOverride.mdx — Full capability reference covering parameters, usage with wallet_getCapabilities and wallet_sendCalls, error handling, use cases, and best practices
  • Updated: capabilities/overview.mdx — Added gasLimitOverride to the Available Capabilities table and Capability-Specific Guides list
  • Updated: wallet_getCapabilities.mdx — Added gasLimitOverride to response schema, SDK usage example, and full response JSON
  • Updated: wallet_sendCalls.mdx — Added capabilities field to call object structure and a request example showing call-level gas limit overrides
  • Updated: docs.json — Added nav entry for the new page

Related:

Notes to reviewers

  • gasLimitOverride is unique among capabilities: it's a call-level capability (specified per-call in wallet_sendCalls, not at the top level) and is reported under 0x0 in wallet_getCapabilities (applies to all chains)
  • The new page follows the same structure as existing capability pages (dataSuffix.mdx, atomic.mdx, paymasterService.mdx)
  • Examples show partial specification (some calls with overrides, some without) per ERC-8132 design intent

How has it been tested?

  • Ran node scripts/lint-mdx.js on all changed files — no new lint errors (only pre-existing false positives shared with other capability pages)
  • Verified navigation entry placement in docs.json
  • Confirmed new page follows established capability page patterns

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Mar 20, 2026

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@youssefea youssefea merged commit 2075c79 into master Mar 20, 2026
8 checks passed
@youssefea youssefea deleted the docs/erc-8132-gas-limit-override branch March 20, 2026 13:49
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.

3 participants