Labels: bug, atomic-swap, testing
Priority: Medium
Estimated Time: 2 hours
Description:
contracts/atomic_swap/src/lib.rs has // #[cfg(test)] mod benchmarks; commented out behind a "pre-existing compile errors from merge conflict" note, alongside mutation_tests, snapshot_tests, and upgrade_chaos_tests — none of these currently run.
Tasks:
- Fix compile errors in
benchmarks.rs
- Re-enable the module
- Confirm
cargo test -p atomic-swap still passes
- Track gas/CPU regressions for
initiate_swap, accept_swap, reveal_key
Labels:
bug,atomic-swap,testingPriority: Medium
Estimated Time: 2 hours
Description:
contracts/atomic_swap/src/lib.rshas// #[cfg(test)] mod benchmarks;commented out behind a "pre-existing compile errors from merge conflict" note, alongsidemutation_tests,snapshot_tests, andupgrade_chaos_tests— none of these currently run.Tasks:
benchmarks.rscargo test -p atomic-swapstill passesinitiate_swap,accept_swap,reveal_key