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

Reorganize emulated tests folder structure #7389

Open
franciscoaguirre opened this issue Jan 29, 2025 · 0 comments
Open

Reorganize emulated tests folder structure #7389

franciscoaguirre opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. C2-good-first-issue A task for a first time contributor to become familiar with the Polkadot-SDK.

Comments

@franciscoaguirre
Copy link
Contributor

We have different files in asset-hub-westend emulated tests to organize tests.

We have a lot of test cases for cross-chain transfers there that are divided in:

  • reserve_transfer.rs
  • teleport.rs
  • hybrid_transfers.rs

This division is based on the type of cross-chain transfer, with hybrid meaning a mixture of reserve and teleport.
It doesn't really help that much and it's harder to reason about than just doing a division based on the chains involved:

  • para_to_system.rs
  • system_to_system.rs
  • through_ah.rs
  • through_relay.rs

All of these could be under a transfers folder to organize them better.

A similar reorganization could be done with bridge hub. One folder per bridge (westend<>rococo and snowbridge) and inside files for different transfers depending on the chains involved.

@franciscoaguirre franciscoaguirre added C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. C2-good-first-issue A task for a first time contributor to become familiar with the Polkadot-SDK. labels Jan 29, 2025
@franciscoaguirre franciscoaguirre self-assigned this Jan 29, 2025
@franciscoaguirre franciscoaguirre changed the title Reclassify emulated tests Reorganize emulated tests Jan 29, 2025
@franciscoaguirre franciscoaguirre changed the title Reorganize emulated tests Reorganize emulated tests folder structure Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. C2-good-first-issue A task for a first time contributor to become familiar with the Polkadot-SDK.
Projects
None yet
Development

No branches or pull requests

1 participant