Add basic zombienet test to be used in the future#2649
Conversation
bkontur
left a comment
There was a problem hiding this comment.
wow, very good :)
maybe, some small README.md how to run it or install any prerequisites?
Thanks to you for those scripts :) I've added README.md - ptal |
very nice, so for rococo<>westend we will just need to add two |
Yep, the idea was to move it to the |
* add basic zombienet test to be used in the future * removed unneeded variables * add README.md for zombienet folder
* add basic zombienet test to be used in the future * removed unneeded variables * add README.md for zombienet folder
This PR adds basic zombienet test that can only be used manually now. This basic test starts local Rococo, Wococo and BH+AH parachains (using existing Branislav scripts), starts relay + makes asset transfer in both directions. It checks that the bridge is initialized, then that the assets are exchanged and then that relayers are rewarded for messages delivery. Later we may add more test conditions, but for beginning it is enough. In other words, this script repeats all required steps from the bridge hubs readme.
A few details on how it is made:
k8s);sync-exit.sh;substrate-relaybinary in thepolkadot-sdk, it'd be hard to run tests within docker container there. So this is only first step towards having something on CI. I assume that we'll start with manual testing, then after migrating code topolkadot-sdk, we could replace local script run with local container run (that would depend on prebuilt binaries), then after we'll start building (and publishing)substrate-relaydocker there - we could do the same autiomatically on CI. And someday maybe we'll have multichain support in zombienet - then we could remove our dedicated test runner and usezombienet testinstead.