Skip to content

fix: update BlockHash to canonical hash in GetLogs and GetFilterLogs - #6

Open
rafaio1 wants to merge 1 commit into
XDC-Community:masterfrom
rafaio1:fix/eth-getlogs-wrong-blockhash
Open

fix: update BlockHash to canonical hash in GetLogs and GetFilterLogs#6
rafaio1 wants to merge 1 commit into
XDC-Community:masterfrom
rafaio1:fix/eth-getlogs-wrong-blockhash

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 24, 2026

Copy link
Copy Markdown

Summary

Fixes issue #1 where eth_getLogs and eth_getFilterLogs were returning the incorrect blockHash for logs.

Changes

  • Applied core.GetCanonicalHash to correct BlockHash in GetLogs and GetFilterLogs, matching the logic already implemented in GetFilterChanges (fix for XinFinOrg#208).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant