You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xtokens/README.md
-8
Original file line number
Diff line number
Diff line change
@@ -12,28 +12,20 @@ The xtokens module provides functions for
12
12
13
13
## Notes
14
14
15
-
#### Unit tests
16
-
17
-
Unit tests could be added once Polkadot has XCM simulator. https://github.com/paritytech/polkadot/issues/2544
18
-
19
15
#### Integration tests
20
16
21
17
Integration tests could be done manually after integrating xtokens into runtime. To cover the full features, set up at least 4 relay chain validators and 3 collators of different parachains, and use dispatchable calls to include all these scenarios:
22
18
23
19
- Transfer relay chain tokens to relay chain.
24
-
- Use dispatchable call `transfer_to_relay_chain`.
25
20
- Transfer tokens issued by parachain A, from parachain A to parachain B.
26
-
- Use dispatchable call `transfer_to_parachain`.
27
21
- Sending the tx from parachain A.
28
22
- Set the destination as Parachain B.
29
23
- Set the currency ID as parachain A token.
30
24
- Transfer tokens issued by parachain B, from parachain A to parachain B.
31
-
- Use dispatchable call `transfer_to_parachain`.
32
25
- Sending the tx from parachain A.
33
26
- Set the destination as Parachain B.
34
27
- Set the currency ID as parachain B token.
35
28
- Transfer tokens issued by parachain C, from parachain A to parachain B.
0 commit comments