Skip to content

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

@omarsy

Description

@omarsy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions