-
Notifications
You must be signed in to change notification settings - Fork 112
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 hbar and token transfer tests #10152
Conversation
Signed-off-by: Kristiyan Selveliev <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10152 +/- ##
============================================
- Coverage 92.51% 92.30% -0.21%
- Complexity 5470 7821 +2351
============================================
Files 710 947 +237
Lines 24413 32847 +8434
Branches 3201 4151 +950
============================================
+ Hits 22586 30321 +7735
- Misses 1072 1550 +478
- Partials 755 976 +221 ☔ View full report in Codecov by Sentry. |
.../test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileModificationTest.java
Outdated
Show resolved
Hide resolved
.../test/java/com/hedera/mirror/web3/service/ContractCallServicePrecompileModificationTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[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.
LGTM
Signed-off-by: Kristiyan Selveliev <[email protected]>
Quality Gate passedIssues Measures |
Description:
This Pr fixes
cryptoTransferHbars
,cryptoTransferToken
andcryptoTransferHbarsAndToken
test in ContractCallServicePrecompileModificationTest.Those test were failing in the opcode assertion calls.
In the opcode flow we are always having a timestamp in the request.
So even if the timestamp is pretty similar to the latest case token balance and account balance are calculated with the historical queries. This PR adds the token and account balance setup for opcode flow.
Having the blueprint of the token and account balance, now we can fix other opcode test failure which are failing with insufficient payer or token balance.
This PR modifies ... in order to support ...
ContractCallServicePrecompileModificationTest
- add token and account balance setup for transfer testsRelated issue(s):
Fixes #
Notes for reviewer:
3342 tests completed, 295 failed, 6 skipped
Checklist