Skip to content

feat: add Tempo fee token validation#4590

Merged
jxom merged 2 commits into
wevm:mainfrom
brendanjryan:brendanjryan/tempo-fee-token-validation
May 17, 2026
Merged

feat: add Tempo fee token validation#4590
jxom merged 2 commits into
wevm:mainfrom
brendanjryan:brendanjryan/tempo-fee-token-validation

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan commented May 8, 2026

Summary

Add Tempo fee token validation with typed errors, wire validation into fee token preference setters, document common fee token errors, and patch the transitive fast-uri audit advisory.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2026

🦋 Changeset detected

Latest commit: 6076424

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
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

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

A member of the Team first needs to authorize it.

@brendanjryan brendanjryan marked this pull request as ready for review May 8, 2026 20:43
@brendanjryan brendanjryan force-pushed the brendanjryan/tempo-fee-token-validation branch from a2d97c5 to 351c6a2 Compare May 8, 2026 20:53
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 8, 2026

Open in StackBlitz

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

commit: 9b039e3

@brendanjryan brendanjryan force-pushed the brendanjryan/tempo-fee-token-validation branch from 351c6a2 to 9b039e3 Compare May 8, 2026 20:56
@brendanjryan brendanjryan requested review from jxom and tmm May 8, 2026 21:15
@jxom jxom merged commit a9bfd94 into wevm:main May 17, 2026
8 of 25 checks passed
jxom added a commit that referenced this pull request May 17, 2026
The fast-uri@<=3.1.1 override was already present in the overrides
section before #4590 was merged. The squash merge re-added it as a
duplicate. Remove the duplicate to keep overrides tidy.
@github-actions github-actions Bot mentioned this pull request May 17, 2026
Thegreatsura pushed a commit to Thegreatsura/tempo that referenced this pull request May 20, 2026
## Summary

Adds typed node errors for invalid Tempo fee tokens and maps them to
transaction-rejected JSON-RPC responses. Mirrors the client-side
validation shape from wevm/viem#4590.

---------

Co-authored-by: 0xrusowsky <0xrusowsky@proton.me>
Co-authored-by: Derek <256792747+decofe@users.noreply.github.com>
@tmm tmm mentioned this pull request May 26, 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.

2 participants