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

chore: added USDC gasless transfer e2e test #369

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Conversation

milan-cb
Copy link
Contributor

What changed? Why?

A Gasless transfer test was added for E2E tests. This test improves coverage for the gasless transfer feature, by ensuring the SDK can make gasless transfers for USDC over Base Sepolia.

Qualified Impact

This change will impact the E2E tests, which currently run in our CI/CD pipeline for Github PRs. The wallet data that is used for transferring USDC over Base Sepolia will need to be funded in case in runs out of funds for the test to pass.

src/tests/e2e.ts Outdated

console.log("Making gasless transfer of 0.000001 USDC...");
const transfer = await sourceWallet.createTransfer({
amount: 0.000001,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could create a constant for transferAmount and reuse it here and line 187

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I'll go ahead and update. Thanks!

@milan-cb milan-cb requested a review from jazz-cb January 28, 2025 00:45
@milan-cb milan-cb merged commit 548e3ac into v0.16.0 Jan 28, 2025
6 checks passed
@milan-cb milan-cb deleted the milan/PSDK-821 branch January 28, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants