wrong order of onLogs logs types in useWatch***Event if indexed properties are not first #4257
Closed
1 task done
Labels
Needs Reproduction
Misc: Needs Reproduction
Check existing issues
Describe the bug
in useWatch***Event onLogs(logs) data is not matching types if indexed values are not first. if some value is indexed it goes before not indexed values and that's when mismatch happen because types not take it into account. example:
logs[1]
is actuallyGameStatus indexed status
but type is stilluint256
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
What Wagmi package(s) are you using?
wagmi, @wagmi/cli
Wagmi Package(s) Version(s)
2.12.0
Viem Version
2.17.10
TypeScript Version
5.5.2
Anything else?
No response
The text was updated successfully, but these errors were encountered: