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

Refactor ContractCallServicePrecompileHistoricalTest #9262

Merged
merged 6 commits into from
Sep 5, 2024

Conversation

kselveliev
Copy link
Contributor

@kselveliev kselveliev commented Sep 3, 2024

Description:
This Pr refactors ContractCallServicePrecompileHistoricalTest to use the web3j plugin.

This PR modifies:
ContractCallServicePrecompileHistoricalTest - refactor all methods to use the web3j plugin
AbstractContractCallServiceTest - extracted some common methods in it.
Added the solidity contract PrecompileTestContractHistorical.sol to solidity_historical folder

Related issue(s):

Fixes #9072

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
@kselveliev kselveliev added web3 Area: Web3 API enhancement Type: New feature limechain Work planned for the LimeChain team technical debt labels Sep 3, 2024
@kselveliev kselveliev self-assigned this Sep 3, 2024
@kselveliev kselveliev added this to the 0.114.0 milestone Sep 3, 2024
@kselveliev kselveliev marked this pull request as ready for review September 3, 2024 13:38
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.52%. Comparing base (65198af) to head (2ba30c5).
Report is 27 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@steven-sheehy steven-sheehy added test Test infrastructure, automated tests required, etc and removed limechain Work planned for the LimeChain team labels Sep 3, 2024
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>
steven-sheehy
steven-sheehy previously approved these changes Sep 4, 2024
@steven-sheehy steven-sheehy changed the title fix: Refactor ContractCallServicePrecompileHistoricalTest Refactor ContractCallServicePrecompileHistoricalTest Sep 4, 2024
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
Copy link

sonarcloud bot commented Sep 4, 2024

Copy link
Contributor

@bilyana-gospodinova bilyana-gospodinova left a comment

Choose a reason for hiding this comment

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

LGTM

@steven-sheehy steven-sheehy merged commit 45f668f into main Sep 5, 2024
35 checks passed
@steven-sheehy steven-sheehy deleted the 09072-contract-call-precompile-historical branch September 5, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature technical debt test Test infrastructure, automated tests required, etc web3 Area: Web3 API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor ContractCallServicePrecompileHistoricalTest
3 participants