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

Assert EVM is set correctly in contract create #5797

Merged
merged 11 commits into from Apr 18, 2023

Conversation

randered
Copy link
Collaborator

@randered randered commented Mar 24, 2023

Description:

Extended one of the tests to assert that EVM is correctly set via Contract Create.
Removed few rows of logic from HapiGetContractInfo because it was doing some checks twice.

Related issue(s):

Fixes #5708

Notes for reviewer:

Checklist

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

Signed-off-by: Vasil Vasilev <vasil.yanev15@gmail.com>
@randered randered self-assigned this Mar 24, 2023
Signed-off-by: Vasil Vasilev <vasil.yanev15@gmail.com>
@randered randered added Limechain Work planned for the LimeChain team CI:UnitTests labels Mar 27, 2023
@github-actions
Copy link

github-actions bot commented Mar 27, 2023

Node: Unit Test Results

  1 310 files    1 310 suites   1h 9m 17s ⏱️
97 099 tests 97 092 ✔️ 7 💤 0
98 741 runs  98 734 ✔️ 7 💤 0

Results for commit 470b5fd.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Mar 27, 2023

Node: Integration Test Results

    3 files      3 suites   15m 2s ⏱️
150 tests 150 ✔️ 0 💤 0
151 runs  151 ✔️ 0 💤 0

Results for commit 470b5fd.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Mar 27, 2023

Node: E2E Test Results

    1 files      1 suites   16m 42s ⏱️
307 tests 307 ✔️ 0 💤 0
325 runs  325 ✔️ 0 💤 0

Results for commit 470b5fd.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@dimitar-dinev dimitar-dinev left a comment

Choose a reason for hiding this comment

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

Looking good!

You can add @SuppressWarnings("java:S5960") as an annotation to the EET method to suppress the sonar bug.

@randered randered marked this pull request as ready for review March 28, 2023 09:55
@randered randered requested a review from a team as a code owner March 28, 2023 09:55
@codecov
Copy link

codecov bot commented Mar 30, 2023

Codecov Report

Patch coverage has no change and project coverage change: +91.37 🎉

Comparison is base (2fe8c2b) 0.00% compared to head (102445a) 91.37%.

❗ Current head 102445a differs from pull request most recent head 470b5fd. Consider uploading reports for the commit 470b5fd to get more accurate results

Additional details and impacted files
@@              Coverage Diff               @@
##             develop    #5797       +/-   ##
==============================================
+ Coverage           0   91.37%   +91.37%     
- Complexity         0    16963    +16963     
==============================================
  Files              0     1270     +1270     
  Lines              0    48486    +48486     
  Branches           0     4840     +4840     
==============================================
+ Hits               0    44304    +44304     
- Misses             0     3259     +3259     
- Partials           0      923      +923     

see 1270 files with indirect coverage changes

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@mustafauzunn mustafauzunn left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Apr 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@MiroslavGatsanoga MiroslavGatsanoga merged commit d63f21a into develop Apr 18, 2023
10 of 11 checks passed
@MiroslavGatsanoga MiroslavGatsanoga deleted the 0XXXX-add-e2e-evm-alias-check branch April 18, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Limechain Work planned for the LimeChain team
Projects
None yet
5 participants