-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feature: add RPC eth_getBlockReceipts #3247
Conversation
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.
Thank you for this PR! Let me know if any of my comments don't make sense or need clarification.
@@ -642,11 +642,32 @@ def test_eth_getBlockByNumber_finalized( | |||
) -> None: | |||
super().test_eth_getBlockByNumber_finalized(w3, empty_block) | |||
|
|||
def test_eth_fee_history(self, w3: "Web3") -> None: | |||
super().test_eth_fee_history(w3) | |||
def test_eth_getBlockReceipts_hash( |
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.
Since we don't have eth_getBlockReceipts
implemented in eth-tester, we'll need to add these tests to the not_implemented
section that's closer to the beginning of this file.
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.
Excuse me, may I ask if this is the change? It seems that even after the change here, it has not taken effect
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.
@kclowes /ping
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.
Thanks for the ping. Now that you are listing the tests as not_implemented
above, you can delete them here and the tests should pass.
I don't think this is failing due to anything you added, @jsvisa. I'll see if I can straighten it out. Thanks! |
b65a436
to
0d83c74
Compare
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
1576a28
to
8b56d40
Compare
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.
Thanks @jsvisa!
What was wrong?
Related to Issue #2004
How was it fixed?
eth_getBlockReceipts
was introduced in the standard RPC ethereum/execution-apis#438, we can simply implement itTodo:
Cute Animal Picture