-
Notifications
You must be signed in to change notification settings - Fork 111
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
Refactor ContractCallServicePrecompileHistoricalTest #9262
Conversation
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9262 +/- ##
============================================
- Coverage 92.64% 92.52% -0.13%
- Complexity 6893 7012 +119
============================================
Files 884 903 +19
Lines 29306 29634 +328
Branches 3709 3737 +28
============================================
+ Hits 27151 27419 +268
- Misses 1396 1447 +51
- Partials 759 768 +9 ☔ View full report in Codecov by Sentry. |
...rc/test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileHistoricalTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileHistoricalTest.java
Show resolved
Hide resolved
...rc/test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileHistoricalTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileHistoricalTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileHistoricalTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Quality Gate passedIssues Measures |
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
Description:
This Pr refactors
ContractCallServicePrecompileHistoricalTest
to use the web3j plugin.This PR modifies:
ContractCallServicePrecompileHistoricalTest
- refactor all methods to use the web3j pluginAbstractContractCallServiceTest
- extracted some common methods in it.Added the solidity contract
PrecompileTestContractHistorical
.sol to solidity_historical folderRelated issue(s):
Fixes #9072
Notes for reviewer:
Checklist