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
fix: LeakyContractTestsSuite HAPI tests #10287
Conversation
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #10287 +/- ##
=============================================
+ Coverage 62.98% 63.04% +0.06%
- Complexity 30813 30835 +22
=============================================
Files 3363 3363
Lines 135415 135487 +72
Branches 14090 14096 +6
=============================================
+ Hits 85287 85416 +129
+ Misses 46768 46708 -60
- Partials 3360 3363 +3 ☔ View full report in Codecov by Sentry. |
Node: E2E Test Results 1 files ± 0 1 suites ±0 24m 57s ⏱️ + 24m 57s Results for commit 48c01d6. ± Comparison against base commit 50a7d5c. This pull request removes 1 and adds 311 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
.../hedera/node/app/service/contract/impl/exec/systemcontracts/hts/create/CreateTranslator.java
Outdated
Show resolved
Hide resolved
...test-clients/src/main/java/com/hedera/services/bdd/suites/leaky/LeakyContractTestsSuite.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
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.
We should just add a comment to any HapiSpec
that expects to be able to use top-level signatures like,
// Requires legacy security model, cannot be enabled as @HapiTest without refactoring to use contract keys
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
# Conflicts: # hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/leaky/LeakyContractTestsSuite.java
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
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, ty @MrValioBg !
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
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!
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:
These changes aim to provide correct logic and fix tests in the LeakyContractTestsSuite.
Related issue(s):
Fixes #9398
#9399
#9397
Notes for reviewer:
Please check the github comments I left in the code.
Checklist