Repository navigation
fix: parseEventLogs args filter matching - #5280
Conversation
The args filter has hashed every string and bytes value since it was added, which only matches indexed parameters.
These calls fail typecheck, and the parseEventLogs assertions already cover the behavior.
Decoded bytes are lowercase, so a mixed-case filter never compared equal.
Cover mixed-case bytes filters with the inline snapshots used for stable results.
The inline pattern duplicated the existing bytes type check.
…indexed args Adds a mixed-case indexed `bytes32` filter test and updates the changeset.
🦋 Changeset detectedLatest commit: f6d1b7c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ab74b2a879
ℹ️ 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".
commit: |
…ypedData`, `Hex`, and `RpcTransport` (#526) * fix: keep empty `version` in `TypedData.extractEip712DomainTypes` Ports wevm/viem#5240. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * feat: add `even` option to `Hex.assert` and `Hex.validate` Ports wevm/viem#5283. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: left-pad short `r` and `s` in `Signature.toHex` Ports wevm/viem#5279. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: array overload resolution in `AbiItem.fromAbi` Ports wevm/viem#5281. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: `AbiEvent.assertArgs` and `AbiEvent.extractLogs` `args` matching Ports wevm/viem#5280. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: apply `RpcTransport.fromHttp` timeout to the response body Ports wevm/viem#5200. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: read tuple object args by name and match empty arrays in `AbiItem.fromAbi` overloads Syncs with the merged wevm/viem#5281: tuple object args are read by component name, and an empty array is ambiguous for `address[]` vs `string[]`/`bytes[]`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: keep the caller signal when `AbortSignal.any` is missing in `RpcTransport.fromHttp` Matches the 0.x backport (#527): runtimes without `AbortSignal.any` (Node < 18.17, older browsers) use the caller signal alone instead of throwing. Also aligns the `AbiEvent.assertArgs` test and the `getComponentValue` comment with 0.x. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b --------- Co-authored-by: Claude <[email protected]>
…`, `Hex`, and `RpcTransport` (#527) * fix: keep empty `version` in `TypedData.extractEip712DomainTypes` Ports wevm/viem#5240. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * feat: add `even` option to `Hex.assert` and `Hex.validate` Ports wevm/viem#5283. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: array overload resolution in `AbiItem.fromAbi` Ports wevm/viem#5281. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: `AbiEvent.assertArgs` `string` and `bytes` matching Ports wevm/viem#5238 and wevm/viem#5280. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: apply `RpcTransport.fromHttp` timeout to the response body and with a caller signal Ports wevm/viem#5200. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: keep first parameter after `( ` in normalizeSignature (#516) (cherry picked from commit 36dce4a) * test: format `Hex` and `RpcTransport` tests Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: read tuple object args by name and match empty arrays in `AbiItem.fromAbi` overloads Syncs with the merged wevm/viem#5281: tuple object args are read by component name, and an empty array is ambiguous for `address[]` vs `string[]`/`bytes[]`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: use a line comment for `getComponentValue` to satisfy `check:tsdoc` Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix(docgen): link to variables in API docs Ports the `Variable` case of `getLinkForApiItem` from `main` (#414). Without it, the `{@link ox#AccountConfig.maxSignatures}` reference added in #509 fails `docs:gen` and every `0.x` docs deployment. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * fix: keep the caller signal when `AbortSignal.any` is missing in `RpcTransport.fromHttp` `AbortSignal.any` is missing on Node < 18.17 and older browsers, which the 0.x line supports. There, the transport now uses the caller signal alone, as it did before, instead of throwing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b * test: restore `AbortSignal.any` by property descriptor Matches the main-branch test in #526. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b --------- Co-authored-by: Claude <[email protected]>
parseEventLogsnow hashesstringandbytesfilters only for values read from topics, compares hex values case-insensitively, and appliesargsfilters to partially decoded logs.Supersedes #5257, keeping @mortezashojaei's commits.