Skip to content

[Feat] Add tests for pay module#13074

Open
abhi3700 wants to merge 2 commits intoMystenLabs:mainfrom
abhi3700:feat/add-tests-pay
Open

[Feat] Add tests for pay module#13074
abhi3700 wants to merge 2 commits intoMystenLabs:mainfrom
abhi3700:feat/add-tests-pay

Conversation

@abhi3700
Copy link
Copy Markdown

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
Copy Markdown

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

@vercel vercel bot temporarily deployed to Preview – mysten-ui July 20, 2023 09:14 Inactive
@abhi3700 abhi3700 changed the title Add tests for pay module [Feat] Add tests for pay module Jul 20, 2023
@vercel vercel bot temporarily deployed to Preview – mysten-ui July 21, 2023 11:37 Inactive
@github-actions
Copy link
Copy Markdown
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.

1 participant