Skip to content

feat(jsonrpc): keep old err_msg when block range is invalid #6239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

waynercheung
Copy link
Contributor

@waynercheung waynercheung commented Mar 14, 2025

What does this PR do?
Keep using old version err_msg when block range is invalid(from > to) for eth_getLogs

Why are these changes required?
To maintain compatibility for legacy users, the original error messages in existing scenarios will remain unchanged.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@CodeNinjaEvan CodeNinjaEvan merged commit 406274d into tronprotocol:release_v4.8.0 Mar 14, 2025
6 checks passed
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.

3 participants