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

tapdb: fixes another issue with the syncer cache #1345

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Conversation

guggero
Copy link
Member

@guggero guggero commented Jan 31, 2025

This time we activate the syncer cache by default in the integration tests to avoid further issues.

The actual bug fix is quite trivial, the wrong root node was inserted into the cache.

To make sure the syncer cache doesn't have any other hidden bugs, we
turn it on by default in the integration tests.
This fixes the issue that after a proof is pushed to the universe, the
root is invalid because the wrong one was added to the cache.
@levmi levmi requested a review from gijswijs January 31, 2025 15:04
@coveralls
Copy link

Pull Request Test Coverage Report for Build 13075096022

Details

  • 1 of 5 (20.0%) changed or added relevant lines in 3 files are covered.
  • 11 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.004%) to 40.737%

Changes Missing Coverage Covered Lines Changed/Added Lines %
itest/test_harness.go 0 1 0.0%
itest/tapd_harness.go 0 3 0.0%
Files with Coverage Reduction New Missed Lines %
itest/test_harness.go 1 0.0%
universe/interface.go 5 50.65%
commitment/tap.go 5 83.64%
Totals Coverage Status
Change from base Build 13048553200: -0.004%
Covered Lines: 26775
Relevant Lines: 65726

💛 - Coveralls

Copy link
Contributor

@gijswijs gijswijs left a comment

Choose a reason for hiding this comment

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

Uni, Multi...
Potato, potato!
🎉

@guggero guggero merged commit d81faf9 into main Jan 31, 2025
18 checks passed
@guggero guggero deleted the root-cache-sync-issue branch January 31, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants