Skip to content

test(tempo): add fee payer scenarios and fuzz suites - #5362

Merged
jxom merged 7 commits into
jxom/expiring-nonce-windowfrom
jxom/fee-payer-scenarios
Nov 1, 2026
Merged

jxom merged 7 commits into
jxom/expiring-nonce-windowfrom
jxom/fee-payer-scenarios

Conversation

@jxom

@jxom jxom commented Nov 1, 2026

Copy link
Copy Markdown
Member

Adds a fee payer scenario table and fuzz suites covering every sponsorship path, nonce lane, validity window, fee token, gas, and key type. Fixes sponsored fills keeping a requested feeToken the fee payer did not sign. Stacked on #5360.

@jxom
jxom merged commit c3a70a6 into jxom/expiring-nonce-window Nov 1, 2026
@jxom
jxom deleted the jxom/fee-payer-scenarios branch November 1, 2026 09:06
jxom added a commit that referenced this pull request Nov 1, 2026
…rs (#5360)

* feat(tempo): raise expiring nonce default expiry, cap fee payer expiring windows

* feat(tempo): set expiring nonce default expiry to 270 seconds

* feat(tempo): replace random expiring nonce `validAfter` with random `nonce` discriminator

* test(tempo): expect random expiring nonce discriminators in node fuzz

* fix(tempo): keep generated fee payer expiring windows 30 seconds under the limit

* test(tempo): give the fully-populated sponsored envelope distinct calldata

* test(tempo): add fee payer scenarios and fuzz suites (#5362)

* fix: drop requested `feeToken` from fee-payer-signed fills

* test(tempo): add fee payer scenario table and fuzz suites

* docs(tempo): describe sender gas and fee token under sponsorship

* refactor: name the fee token shape in sponsored fills

* test(tempo): cycle key types per path, drop file-level describes, cover chain fee token default
@changeset-bot

changeset-bot Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fafd464

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

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
viem Ready Ready Preview Nov 1, 2026 8:57am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T08:53:45.530468Z fafd464 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: ab1fc9855a

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread test/src/tempo/feePayer.ts Resolved
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Published [email protected] under the pr-5362 dist-tag, which follows this pull request until it closes.

pnpm add viem@pr-5362
pnpm add [email protected]

This branch was successfully deployed

1 active deployment
Preview — fafd4645 Deployed Nov 1, 2026 by vercel[bot]
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