Skip to content
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(rpc): implement eth_getTransactionBySenderAndNonce #10540

Merged
merged 8 commits into from
Aug 26, 2024

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Aug 26, 2024

implement ethereum/execution-apis#494

This API is similar to ots_getTransactionBySenderAndNonce, but this one(eth_getTransactionBySenderAndNonce) will check the tx pool first, and then request with block data.

So I'll try to merge the two implementations into one function.

jsvisa added 4 commits August 26, 2024 18:11
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, smol suggestion re error handling

crates/rpc/rpc-eth-api/src/core.rs Outdated Show resolved Hide resolved
crates/rpc/rpc-eth-types/src/utils.rs Outdated Show resolved Hide resolved
crates/rpc/rpc-eth-types/src/utils.rs Outdated Show resolved Hide resolved
crates/rpc/rpc-eth-api/src/core.rs Show resolved Hide resolved
@mattsse mattsse marked this pull request as ready for review August 26, 2024 12:55
@mattsse mattsse requested review from Rjected and emhane as code owners August 26, 2024 12:55
jsvisa and others added 2 commits August 26, 2024 21:28
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Signed-off-by: jsvisa <delweng@gmail.com>
@jsvisa jsvisa requested a review from mattsse August 26, 2024 13:36
Signed-off-by: jsvisa <delweng@gmail.com>
@mattsse mattsse added this pull request to the merge queue Aug 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 26, 2024
@mattsse mattsse enabled auto-merge August 26, 2024 16:13
@mattsse mattsse added this pull request to the merge queue Aug 26, 2024
Merged via the queue into paradigmxyz:main with commit ec31b24 Aug 26, 2024
34 checks passed
@jsvisa jsvisa deleted the eth-tx-by-sender-and-nonce branch August 28, 2024 16:27
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.

2 participants