Skip to content

fix: use EntryPointVersion type from viem for forward compatibility#260

Merged
SahilVasava merged 4 commits intomainfrom
fix/viem-entrypoint-version-compat
Apr 13, 2026
Merged

fix: use EntryPointVersion type from viem for forward compatibility#260
SahilVasava merged 4 commits intomainfrom
fix/viem-entrypoint-version-compat

Conversation

@SahilVasava
Copy link
Copy Markdown
Collaborator

Summary

  • Replaced hardcoded "0.6" | "0.7" | "0.8" type constraint in ZeroDevPaymasterClient with EntryPointVersion from viem/account-abstraction
  • Fixes CI build failures caused by viem 2.42.0+ adding "0.9" to EntryPointVersion
  • Updated lockfile

… union

Newer viem versions (2.42.0+) added '0.9' to EntryPointVersion, which
broke the build since ZeroDevPaymasterClient had a hardcoded
"0.6" | "0.7" | "0.8" constraint.
@SahilVasava SahilVasava requested a review from aroralanuk April 13, 2026 15:24
Copy link
Copy Markdown

@aroralanuk aroralanuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SahilVasava SahilVasava merged commit 9c9742d into main Apr 13, 2026
5 checks passed
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