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

fix: wallet validation #6765

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

SWvheerden
Copy link
Collaborator

Description

Fixes wallet validation to always correctly trigger

Motivation and Context

Currently when a new block comes, validation is triggered, but if validation is already running, nothing happens. We need to stop the current validation as we need to validate with the newest information.

How Has This Been Tested?

Manual

@SWvheerden SWvheerden requested a review from a team as a code owner January 27, 2025 09:26
Copy link

github-actions bot commented Jan 27, 2025

Test Results (CI)

    3 files    129 suites   35m 10s ⏱️
1 350 tests 1 350 ✅ 0 💤 0 ❌
4 048 runs  4 048 ✅ 0 💤 0 ❌

Results for commit 7d70edc.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 27, 2025

Test Results (Integration tests)

 2 files  + 2  11 suites  +11   39m 0s ⏱️ + 39m 0s
36 tests +36  35 ✅ +35  0 💤 ±0  1 ❌ +1 
38 runs  +38  36 ✅ +36  0 💤 ±0  2 ❌ +2 

For more details on these failures, see this check.

Results for commit 7d70edc. ± Comparison against base commit 2535e87.

♻️ This comment has been updated with latest results.

hansieodendaal
hansieodendaal previously approved these changes Jan 27, 2025
Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

utACK

Note: This process may struggle to finish for big wallets if it is restarted every time a block is mined.

@SWvheerden
Copy link
Collaborator Author

It will still finish, it wont revalidate outputs its already validated. And when this stops, it does not delete progress on validation it already made.

@SWvheerden SWvheerden merged commit afee5ad into tari-project:development Jan 28, 2025
16 of 17 checks passed
@SWvheerden SWvheerden deleted the sw__fix_validation branch January 28, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants