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: add record list checkpoint, so following & preceding child records are reverted correctly #10137
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #10137 +/- ##
=============================================
- Coverage 63.04% 63.02% -0.03%
- Complexity 30814 30816 +2
=============================================
Files 3361 3362 +1
Lines 135336 135399 +63
Branches 14088 14094 +6
=============================================
+ Hits 85320 85329 +9
- Misses 46658 46709 +51
- Partials 3358 3361 +3 ☔ View full report in Codecov by Sentry. |
Node: E2E Test Results 1 files ± 0 1 suites ±0 24m 44s ⏱️ + 24m 44s Results for commit ae79778. ± Comparison against base commit 4db7794. This pull request removes 1 and adds 311 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
...ra-node/hedera-app/src/main/java/com/hedera/node/app/workflows/handle/HandleContextImpl.java
Outdated
Show resolved
Hide resolved
.../hedera-app/src/main/java/com/hedera/node/app/workflows/handle/record/RecordListBuilder.java
Outdated
Show resolved
Hide resolved
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>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
…ld records for given ProxyWorldUpdater 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>
a940939
to
aaad8e1
Compare
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
.../hedera-app/src/main/java/com/hedera/node/app/workflows/handle/record/RecordListBuilder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Valentin Valkanov <valentin.valkanov@limechain.tech>
# Conflicts: # hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/contract/opcodes/Create2OperationSuite.java # hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/leaky/LeakyContractTestsSuite.java
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>
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, nice work @MrValioBg !
Description:
Add support for reverting call from specific "checkpoint". Every time a new ProxyWorldUpdater is created we make a checkpoint. When revert is called we revert both preceding & following child records from this checkpoint.
This will fix more tests in LeakyContractTestSuites and in Create2OperationSuite.
Related issue(s):
Fixes #9403
Fixes #10419
Fixes #10352
Notes for reviewer:
Todo