-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fixes zod parsed abi's assignability to Abi
#192
Conversation
🦋 Changeset detectedLatest commit: f26b63f The changes in this PR will be included in the next version bump. 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 |
Bug FixesChoreTests
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +35 B (0%) Total Size: 48.4 kB
ℹ️ View Unchanged
|
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #192 +/- ##
=======================================
Coverage 99.90% 99.90%
=======================================
Files 21 21
Lines 2048 2055 +7
Branches 325 325
=======================================
+ Hits 2046 2053 +7
Misses 2 2
☔ View full report in Codecov by Sentry. |
Description
Fixes (#189)
Additional Information
Your ENS/address:
PR-Codex overview
This PR focuses on fixing an issue with Zod's parsed ABIs not being assignable to the
Abi
type.Detailed summary
Abi
type.module
setting intsconfig.base.json
to "NodeNext".zod.test-d.ts
to ensure Zod types are assignable toAbi
.AbiEventParameter
type inzod.ts
to include thestateMutability
property.package.json
to use the--moduleResolution node10
flag.typesVersions
field inpackage.json
to include specific paths for types.