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

tests retrying an aborted transfer #23

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

zoedberg
Copy link
Collaborator

@zoedberg zoedberg commented Nov 6, 2024

This PR splits the same_transfer_twice test in 3 tests:

  • rbf_transfer: this is the same test as before, it has just been renamed with a more precise name
  • same_transfer_twice_no_update_witnesses: this test shows 2 bugs
  • same_transfer_twice_update_witnesses: this test shows 1 bug

P.S. Since the bugs appear only on branches ready for beta 9 this PR contains also a WIP commit that updates the tests in order to use the updated branches. I suggest looking only at the last commit to understand the reported bugs

@zoedberg
Copy link
Collaborator Author

zoedberg commented Nov 6, 2024

Details about the bugs have been reported in RGB-WG/rgb-std#287

@zoedberg zoedberg changed the title debug retrying an aborted transfer tests retrying an aborted transfer Nov 7, 2024
@zoedberg zoedberg force-pushed the debug_abort_transfer branch from 3f9a86a to cfed8e4 Compare November 7, 2024 09:42
@zoedberg
Copy link
Collaborator Author

zoedberg commented Nov 7, 2024

Force-pushed to update rgb-std and bp-wallet to their latest master tip. Tests fail as before.

@zoedberg zoedberg force-pushed the debug_abort_transfer branch from 0c859f5 to 59dec46 Compare November 24, 2024 10:54
@zoedberg zoedberg merged commit 59dec46 into RGB-WG:master Nov 24, 2024
3 checks passed
Copy link

codecov bot commented Nov 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.53%. Comparing base (7c873b5) to head (59dec46).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      RGB-WG/rgb-core#23      +/-   ##
==========================================
+ Coverage   36.49%   36.53%   +0.04%     
==========================================
  Files         279      279              
  Lines       42806    42806              
==========================================
+ Hits        15620    15641      +21     
+ Misses      27186    27165      -21     
Flag Coverage Δ
rust 36.53% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

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.

1 participant