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

[E2E Test] Cross-Chain Token Transfer Validation #95

Open
omarsy opened this issue Jan 12, 2025 · 0 comments
Open

[E2E Test] Cross-Chain Token Transfer Validation #95

omarsy opened this issue Jan 12, 2025 · 0 comments

Comments

@omarsy
Copy link
Member

omarsy commented Jan 12, 2025

Description

Implement an end-to-end (E2E) test to validate the cross-chain token transfer functionality. This test ensures that token balances update correctly after transferring tokens between two accounts across chains.


Steps to Reproduce

  1. Check Initial Balances:

    • Retrieve and verify the initial balance of Account 1 on Chain 1.
    • Retrieve and verify the initial balance of Account 2 on Chain 1.
  2. Execute Token Transfer:

    • Initiate a transfer of x tokens from Account 1 on Chain 1 to Account 2 on Chain 1 via Account 1 on Chain 2.
  3. Validate Post-Transfer Balances:

    • Verify the balance of Account 1 on Chain 1 is updated correctly to original_balance - x.
    • Verify the balance of Account 2 on Chain 1 is updated correctly to original_balance + x.

Expected Outcome

  • Account 1 on Chain 1 has a balance reduced by the transferred x tokens.
  • Account 2 on Chain 1 has a balance increased by the received x tokens.
  • No errors are encountered during the cross-chain token transfer process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant