Skip to content

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

Merged
CodeNinjaEvan merged 1 commit intotronprotocol:release_v4.8.0from
waynercheung:feat/opt_err_msg
Mar 14, 2025
Merged

feat(jsonrpc): keep old err_msg when block range is invalid#6239
CodeNinjaEvan merged 1 commit intotronprotocol:release_v4.8.0from
waynercheung:feat/opt_err_msg

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