Skip to content

eth_getLogs return expected error/message for unknown hash#1079

Merged
sorpaas merged 2 commits intopolkadot-evm:masterfrom
moonbeam-foundation:tgm-logs-error-message
Jun 22, 2023
Merged

eth_getLogs return expected error/message for unknown hash#1079
sorpaas merged 2 commits intopolkadot-evm:masterfrom
moonbeam-foundation:tgm-logs-error-message

Conversation

@tgmichel
Copy link
Copy Markdown
Contributor

As reported by a project deployed on moonbeam, calls to eth_getLogs with a non-existing blockHash should return an rpc error message unknown block (e.g. Infura webservices). This PR fixes it.

@tgmichel tgmichel requested a review from sorpaas as a code owner June 14, 2023 12:33
@albertov19
Copy link
Copy Markdown

Solves #1069

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.

4 participants