-
Notifications
You must be signed in to change notification settings - Fork 75
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
Check to
parameter in eth_call
method
#744
Check to
parameter in eth_call
method
#744
Conversation
Signed-off-by: georgi-l95 <[email protected]>
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.
Add an eth.ts
test for this case to ensure the right error is thrown
Signed-off-by: georgi-l95 <[email protected]>
Added tests for no |
Codecov ReportBase: 72.53% // Head: 72.71% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #744 +/- ##
==========================================
+ Coverage 72.53% 72.71% +0.18%
==========================================
Files 16 16
Lines 1227 1228 +1
Branches 224 225 +1
==========================================
+ Hits 890 893 +3
+ Misses 279 278 -1
+ Partials 58 57 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: georgi-l95 <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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
Checks if to parameter is passed in eth_call method, before checking it's length. Signed-off-by: georgi-l95 <[email protected]>
* Check `to` parameter in `eth_call` method (#744) Checks if to parameter is passed in eth_call method, before checking it's length. Signed-off-by: georgi-l95 <[email protected]> * eth_getBalance workaround (#717) * feat: add workaround logic Signed-off-by: Ivo Yankov <[email protected]> * fix: unit tests Signed-off-by: Ivo Yankov <[email protected]> * chore: code cleanup Signed-off-by: Ivo Yankov <[email protected]> * test: add acceptance test Signed-off-by: Ivo Yankov <[email protected]> * chore: fix unit tests Signed-off-by: Ivo Yankov <[email protected]> * refactor: remove duplicated pagination util Signed-off-by: Ivo Yankov <[email protected]> * fix: add safeguard against double link prefix Signed-off-by: Ivo Yankov <[email protected]> * chore: fix acceptancetest api tests structure Signed-off-by: Ivo Yankov <[email protected]> * nit: code cleanup Signed-off-by: Ivo Yankov <[email protected]> * fix: calculate balance at block end Signed-off-by: Ivo Yankov <[email protected]> * fix: broken unit tests Signed-off-by: Ivo Yankov <[email protected]> * test: add explicit unit texts for balance calculation Signed-off-by: Ivo Yankov <[email protected]> * fix: tweak unit tests Signed-off-by: Ivo Yankov <[email protected]> * fix: failing acceptance test Signed-off-by: Ivo Yankov <[email protected]> * fix: failing acceptance test Signed-off-by: Ivo Yankov <[email protected]> * fix: failing tests Signed-off-by: Ivo Yankov <[email protected]> Signed-off-by: Ivo Yankov <[email protected]> Signed-off-by: georgi-l95 <[email protected]> Signed-off-by: Ivo Yankov <[email protected]> Co-authored-by: georgi-l95 <[email protected]> Co-authored-by: Ivo Yankov <[email protected]>
Signed-off-by: georgi-l95 [email protected]
Description:
Checks if
to
parameter is passed ineth_call
method, before checking it's length.Related issue(s):
Fixes #742
Notes for reviewer:
Checklist