Closed runjuu closed 10 months ago
Fixed in 2.0.0-rc.1
. Many thanks.
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Viem version. If you have any questions or comments you can create a new discussion thread.
Is there an existing issue for this?
Package Version
2.0.0-beta.16
Current Behavior
blockNumber
,transactionIndex
andlogIndex
are hex strings.Expected Behavior
blockNumber
,transactionIndex
andlogIndex
should be bigint or number typesSteps To Reproduce
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://stackblitz.com/edit/nestjs-typescript-starter-xyivpk?file=src%2Fmain.ts&terminal=start
Anything else?
It seems like the bug is introduced by 468a4ae3160c738046de115cec2a7e5ab7286a01, as
formatLog
was only applied to the logs withoutevents
.