feat(jsonrpc): jsonrpc supports finalized by waynercheung · Pull Request #6007 · tronprotocol/java-tron
What does this PR do?
make eth_getBlockByNumber and other methods supports finalized as below:
eth_getBlockTransactionCountByNumbereth_getBlockByNumbereth_getTransactionByBlockNumberAndIndexeth_newFiltereth_getLogs
Why are these changes required?
For many developers, they need to get the latest solidified/finalized block number, then fetch other data by this number.
For more details, visit issue #5953
This PR has been tested by:
- Unit Tests
- Manual Testing
Follow up
Extra details