-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add E2E Tests for Asset Teleportation Between LAOS and Asset Hub with…
… Configuration Updates (#829) * mercury sovereign account * fix compilation * adding test for zombienet sovereign address * zombienet uses assehub for default * downloading polkadot-parachain * set variable for asset hub * fix bin * using a couple of collators * wip * add limited teleport asset call * add limited teleport asset call * test hrmp channels are open * restore unnecesary changes * restore xcm-native file * WIP test teleport asset from laos to asset hub * test force the creation of hrmp channels * edit xcm config and zombienet config file * add some logs * add setup file to e2e tests * merge main * restore unnecesary changes * restore unnecesary changes * wip * Adding withdrawasset + buyexecution to e2e create asset test * Prettier * read event with hardcoded call * build correct call * finish create foreign asset test * add exit so mocha exists when tests end * no need of setup file anymore * test send create pool xcm msg * create pool call is encoded properly * refactor * check balances after creating foreign asset * check balances after creating foreign asset * Using WS connection to Zombienet in order to receibe tx status/events * Reveting to http provider for simplicity * Waiting together for all blockchains producing blocks * Solving conflicts with test-create-pool * add mint step so ferdie owns laos in AH * Refactoring * prettier * uncomment teleport * add TODO comment * some comments * Correct deposit in e2e teleport test * Solving typo * Solving typo * test teleport back * delete old line * refactor: resuse laosAssetId and remove chai-bn dep * refactor: add waitForEvent fn * add some logs to tests * go back to 1seg of delay and set 15 waiting blocks for events * use checking account to disregard wrong event * format issues * use HttpProvider to prevent poltergeist * increate timeout * go back to 600000 ms * go back to 600000 ms * remove comments * apply suggestions * fix BN compare * Update readme * fix: read events from canonical chain * Adding helpful structures * Adding data structures for networks * downgrade to 14.0.1 * update and remove unused deps * refactor test names * npm fmt * open polkadot connections only when needed * Using this to pass global context to tests * fmt * Solving typo * Deleting repeated stuff * Rename types * Moving mocha types to external file * Use this.ethereumPairs instead of the plain address along tests * fmt * increasing invalid tx wait * Managing all tx statuses * Managing future, retracted and finalityTimeout tx statuses --------- Co-authored-by: Alessandro Siniscalchi <[email protected]> Co-authored-by: luispdm <[email protected]> Co-authored-by: Tomás Senovilla Polo <[email protected]>
- Loading branch information
1 parent
41da0fe
commit 4076f10
Showing
21 changed files
with
3,679 additions
and
1,858 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ node_modules/ | |
frontier-test-tmp | ||
build/ | ||
|
||
tmp/ | ||
tmp/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.