-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: implement methods for eth_getTransactionByBlockNumberAndIndex
and eth_getTransactionByBlockHashAndIndex
#12618
Conversation
eth_getTransactionByBlockNumberAndIndex
and `eth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndex
and eth_getTransactionByBlockHashAndIndex
These should go in api_gateway.go along with the other Eth methods in there - they are reasonable to expose publicly. Once you do that you'll get some compile errors. Go to gateway/proxy_eth.go and have a look at how the methods that take a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@virajbhartiya Reviewed. good stuff.
@rvagg @aarshkshah1992 I have addressed the above reviews. Both the tests have been merged into one. The |
@rvagg @aarshkshah1992 I have addressed the comments above. used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good! almost there, just some minor suggestions left
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all good except for those ErrNullRound
inclusions, remove those and we'll merge this
@rvagg Removed the null round checks for both thee functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work!
Closes #10640
Proposed Changes
Implement methods for
eth_getTransactionByBlockNumberAndIndex
and `eth_getTransactionByBlockHashAndIndexChecklist
Before you mark the PR ready for review, please make sure that: