-
Notifications
You must be signed in to change notification settings - Fork 35
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 for parachain teleportation #231
Comments
I've been experimenting with crafting this test and I am quite stuck. What I'm doingI have built locally:
It successfully spins up a local testnet with a parachain: Next, I'm trying to teleport tokens to parachain 100 in the same way the bot would do it, in the UI (before I move on to automating it in a test). ResultsThe XCM seem to be sent and execution is attempted, but it has no further effect. The balance of Alice does not decrease appropriately and no other effect is observed. Questions I have
Things I have discovered along the way
|
The current test for teleporting assets is not quite real:
https://github.com/paritytech/substrate-matrix-faucet/blob/86a71d061a2aede66672285d0a6df7ff2fa7394f/src/faucet.e2e.ts#L73-L81
The bot simply sends a XCM message, and doesn't verify that it actually has the final effect.
Similarly this current test just checks that the bot accepted the message and responded, but doesn't verify the balances before/after. (And it can't do it, because in current E2E setup there is no parachain to teleport to.
I'm creating this issue for discussion and help around this topic.
The text was updated successfully, but these errors were encountered: