-
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
Test(rpc): Test support for different api modules #1288
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #1288 +/- ##
==========================================
+ Coverage 76.90% 77.20% +0.30%
==========================================
Files 340 348 +8
Lines 37878 38598 +720
==========================================
+ Hits 29131 29801 +670
- Misses 8747 8797 +50
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
this is great! q regarding the commented calls
It is useful to have either
- test the endpoint is working
- or returns an unimplemented error so the node does not panic
// EthApiClient::send_transaction(client).await.err().unwrap())); | ||
// EthApiClient::send_raw_transaction(client).await.err().unwrap())); | ||
// EthApiClient::sign(client).await.err().unwrap())); | ||
// EthApiClient::sign_transaction(client).await.err().unwrap())); | ||
// EthApiClient::sign_typed_data(client).await.err().unwrap())); | ||
// EthApiClient::get_proof(client).await.err().unwrap())); |
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.
why are they currently commented?
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.
@mattsse maybe you were looking at an older version of the PR?
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.
LGTM, and as we implement more calls we should turn these tests on.
@mattsse latest version of the PR seesm to have no uncommented code, so good by me
Co-authored-by: Georgios Konstantopoulos <[email protected]>
Closes #1224