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

[Feat] Add tests for pay module #13074

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abhi3700
Copy link

Description

This PR adds test cases for the pay module. The tests cover the join, join_vec, and join_vec_and_transfer functions. The tests ensure that the functions correctly combine and transfer coins, and that the resulting coin has the expected value.

Test Plan

I tested the new test cases by running the pay_tests.move file in the VSCode with Sui Move Analyzer, CLI and verifying that all tests passed successfully.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

N/A (not a user-facing or breaking change)

- join,
- join_vec,
- join_vec_and_transfer
These functions are covered.
@vercel
Copy link

vercel bot commented Jul 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mysten-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 21, 2023 11:37am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Jul 21, 2023 11:37am
multisig-toolkit ⬜️ Ignored (Inspect) Jul 21, 2023 11:37am
sui-kiosk ⬜️ Ignored (Inspect) Jul 21, 2023 11:37am
sui-wallet-kit ⬜️ Ignored (Inspect) Jul 21, 2023 11:37am

@abhi3700 abhi3700 changed the title Add tests for pay module [Feat] Add tests for pay module Jul 20, 2023
@github-actions
Copy link
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 20, 2023
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.

None yet

1 participant