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 tests and build warnings #1421

Merged
merged 8 commits into from
Feb 24, 2025
Merged

Conversation

psgreco
Copy link
Contributor

@psgreco psgreco commented Feb 20, 2025

In feature_discounct, the created tx can be of 2 different weights, we need to make sure we don't fail erroneously.

Newer gcc versions complain about mixing int and enum, so we need to do the 0 from the enum.

TSAN revealed an unlocked access to pindexBestHeader, so it's moved inside the lock

Fixes an issue in windows builds accessing the cookie file with special characters in the path.

Also addresses some issues seen in Win 64 native functional tests, doesn't fully fix the issues, but it's a step in the right direction.

Fixes: #1406 #1422

@psgreco psgreco force-pushed the master-fixlock branch 2 times, most recently from 0787645 to b92a3ce Compare February 24, 2025 01:55
@psgreco psgreco marked this pull request as ready for review February 24, 2025 13:51
Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

utACK b92a3ce

@delta1 delta1 merged commit 7ed2768 into ElementsProject:master Feb 24, 2025
13 checks passed
@psgreco psgreco deleted the master-fixlock branch February 24, 2025 15:18
delta1 added a commit that referenced this pull request Feb 28, 2025
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.

23.3.0rc3: feature_discount_ct.py test failure: AssertionError: not(10299 == 10300)
2 participants