Closed m-Peter closed 2 months ago
The changes involve modifications to error handling in the GetByID
, GetByTransactionID
, and BloomsForBlockRange
methods across the Blocks
and Receipts
structs. Specifically, the error messages have been updated to convert the height
parameter into a uint64
format, enhancing clarity by providing a more explicit numerical representation in the logs.
Files | Change Summary |
---|---|
storage/pebble/blocks.go | Updated error handling in GetByID to format height as uint64 for clearer error messages. |
storage/pebble/receipts.go | Enhanced error handling in GetByTransactionID and BloomsForBlockRange to format height as uint64 . |
Objective | Addressed | Explanation |
---|---|---|
The height in some log lines is displayed as a byte-array instead of numeric value (#496) |
✅ |
In the code where heights reside,
A rabbit hops with joyful pride.
No more byte arrays to confuse,
Clear logs now, we cannot lose!
With numbers bright, our paths align,
Hooray for changes, all is fine! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Closes: https://github.com/onflow/flow-evm-gateway/issues/496
Description
For contributor use:
master
branchFiles changed
in the Github PR explorerSummary by CodeRabbit