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: btc witnesser test failing sometimes #4353

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

j4m1ef0rd
Copy link
Contributor

Pull Request

Closes: PRO-xxx

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

Was a 1/85 chance of the test failing because 2 of the txid's are the same. Maybe we should make the function take an id argument so the test can guarantee no collisions?
For now i just did the quickest thing and make all the bytes random so the chances and almost 0.

@j4m1ef0rd j4m1ef0rd added the CFE label Dec 15, 2023
@j4m1ef0rd j4m1ef0rd self-assigned this Dec 15, 2023
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6ac9885) 71% compared to head (fb8ad54) 71%.

Additional details and impacted files
@@          Coverage Diff           @@
##            main   #4353    +/-   ##
======================================
- Coverage     71%     71%    -0%     
======================================
  Files        393     393            
  Lines      66826   66675   -151     
  Branches   66826   66675   -151     
======================================
- Hits       47721   47504   -217     
- Misses     16679   16742    +63     
- Partials    2426    2429     +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@j4m1ef0rd j4m1ef0rd merged commit 69d642e into main Dec 15, 2023
42 checks passed
@j4m1ef0rd j4m1ef0rd deleted the fix/btc-witnesser-test branch December 15, 2023 05:49
syan095 added a commit that referenced this pull request Dec 18, 2023
…-timeout

* origin/main:
  feat: end to end network upgrade github action (#4274)
  feat: spec_version of PR is greater than spec version of current release (#4355)
  feat: enforce version is greater than release version on PRs to main (#4351)
  fix: btc witnesser test failing sometimes (#4353)
  fix: connections can become stale when reconnecting (#4310)
  chore: add `chainflip-rpc-node` systemd file 🚀 (#4352)
  feat: API Bins check SC compatibility (#4342)
  chore: update runtime spec checks ⛓️ (#4349)
  feat: Add version cmd to all bins (#4343)
  fix: changelog check 🤫 (#4348)
  chore: update docker tags 🐳 (#4347)
  chore: add runtime version check 👀 (#4344)
  feat: shave fees on ingress (#4335)
  pick/persa fixes (#4329)
  feat: track btc fees on success (#4334)
  ensure we dont create BTC transaction outputs below the bitcoin dust limit (#4340)
  fix: sweeping before withdrawal (#4337)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants