Skip to content

Re-enable benchmarks.rs for the Atomic Swap contract #819

Description

@fejilaup-cloud

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programatomic-swapAtomic Swap smart contractbugSomething isn't workingtesting

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions