Skip to content

fix(tempo): bump gas for access key + fee payer transactions#4450

Merged
jxom merged 3 commits intomainfrom
fix/fee-payer-gas-bump
Apr 3, 2026
Merged

fix(tempo): bump gas for access key + fee payer transactions#4450
jxom merged 3 commits intomainfrom
fix/fee-payer-gas-bump

Conversation

@jxom
Copy link
Copy Markdown
Member

@jxom jxom commented Apr 3, 2026

Sponsored transactions from Tempo Wallet (P256 access key) fail with out-of-gas on the second transaction.

eth_fillTransaction estimates gas using a secp256k1 dummy signature and feePayerSignature: null. The actual signed transaction has a larger keychain P256 envelope (~151 bytes) and a real fee payer signature (65 bytes), costing ~8k more intrinsic gas.

The existing +20k gas bump only applied to webAuthn key authorizations. This adds a +10k bump for accessKey accounts with a fee payer.

Node-side fix: tempoxyz/tempo#3446

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

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

Project Deployment Actions Updated (UTC)
viem Ready Ready Preview, Comment Apr 3, 2026 3:49am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 3, 2026

🦋 Changeset detected

Latest commit: e12ae11

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

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

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

@jxom jxom force-pushed the fix/fee-payer-gas-bump branch 2 times, most recently from 6817b58 to 7f1222c Compare April 3, 2026 03:28
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/viem@4450

commit: 0661677

@jxom jxom force-pushed the fix/fee-payer-gas-bump branch from f5f5336 to 0661677 Compare April 3, 2026 03:44
@jxom jxom merged commit 4555ee6 into main Apr 3, 2026
23 of 31 checks passed
@jxom jxom deleted the fix/fee-payer-gas-bump branch April 3, 2026 03:48
@github-actions github-actions bot mentioned this pull request Apr 3, 2026
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