Skip to content

fix: re-enable escrow, batch_approval, batch_history, multi_signer, batch_swap_features, prop, chaos tests - #957

Merged
fejilaup-cloud merged 1 commit into
AtomicIP:mainfrom
cephas360:fix/re-enable-escrow-batch-approval-history-tests
Aug 29, 2026
Merged

fix: re-enable escrow, batch_approval, batch_history, multi_signer, batch_swap_features, prop, chaos tests#957
fejilaup-cloud merged 1 commit into
AtomicIP:mainfrom
cephas360:fix/re-enable-escrow-batch-approval-history-tests

Conversation

@cephas360

@cephas360 cephas360 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Re-enables 7 test modules that were disabled with FIXME comments after merge conflicts introduced compile errors. All errors were caused by updated function signatures that the test files hadn't been updated to match.

Changes

Module Issue Fix applied
escrow_tests #830 commit_ip: add missing &0u32 (pow_difficulty) arg
batch_approval_tests #831 commit_ip: add missing &0u32 arg
batch_history_tests #832 commit_ip: add &0u32; cancel_swap: remove extra Bytes arg (signature is cancel_swap(swap_id, canceller))
multi_signer_tests #824 commit_ip: add &0u32 arg
batch_swap_features_tests #825 commit_ip + initiate_swap (&0i128) fixes; mint &0 to hardcoded treasury so batch_reveal_keys protocol-fee transfer succeeds in tests
prop_tests #828 commit_ip + initiate_swap (&0i128) + cancel_swap with &seller
chaos_tests #829 Signatures already correct — re-enabled in lib.rs

Testing

All 7 modules are re-enabled in lib.rs and the compile errors are resolved. No logic changes — only call-site argument updates to match current function signatures.
closes
closes #829
closes #828
closes #825
closes #824

…atch_swap_features, prop, chaos tests

Fixed pre-existing compile errors caused by updated function signatures after
merge conflicts. All affected test modules are now re-enabled in lib.rs.

Changes per module:
- escrow_tests (AtomicIP#830): commit_ip now takes &pow_difficulty: &u32; pass &0u32
- batch_approval_tests (AtomicIP#831): same commit_ip fix
- batch_history_tests (AtomicIP#832): commit_ip fix + remove extra Bytes arg from
  cancel_swap (signature is cancel_swap(swap_id, canceller), no reason/bytes arg)
- multi_signer_tests (AtomicIP#824): commit_ip fix (already landed, included here)
- batch_swap_features_tests (AtomicIP#825): commit_ip fix + &0i128 for initiate_swap +
  mint &0 to hardcoded treasury so batch_reveal_keys fee transfer succeeds
- prop_tests (AtomicIP#828): commit_ip fix + &0i128 for initiate_swap + cancel_swap with &seller
- chaos_tests (AtomicIP#829): re-enabled (signatures already correct)
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@cephas360 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@fejilaup-cloud
fejilaup-cloud merged commit 32a3e57 into AtomicIP:main Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants