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

restructure zombienet tests #122

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 38 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,51 @@
```

4. Run the tests:

- block production

- block production

```
zombienet-linux -p native test ./zombienet_tests/0001-block-production.zndsl
```

- native fee payment
```
zombienet-linux -p native test ./zombienet_tests/general/block-production.zndsl
```

```
zombienet-linux -p native test ./zombienet_tests/0002-native-fee-payment.zndsl
```
- fee payment
- fee payment in native tokens

- custom fee payment
```
zombienet-linux -p native test ./zombienet_tests/fee-payment/native-fee-payment.zndsl
```

```
zombienet-linux -p native test ./zombienet_tests/0003-custom-fee-payment.zndsl
```
- fee payment in custom assets

- delegated governance(relay chain token holders)
```
zombienet-linux -p native test ./zombienet_tests/fee-payment/custom-fee-payment.zndsl
```

```
zombienet-linux -p native test ./zombienet_tests/0004-delegated-governance.zndsl
```
- governance

- native governance(RegionX token holders)
- delegated governance(relay chain token holders)

```
zombienet-linux -p native test ./zombienet_tests/0005-native-governance.zndsl
```
```
zombienet-linux -p native test ./zombienet_tests/governance/delegated-governance.zndsl
```

- native governance(RegionX token holders)

```
zombienet-linux -p native test ./zombienet_tests/governance/native-governance.zndsl
```

- cross-chain transfer

- transfer assets

```
zombienet-linux -p native test ./zombienet_tests/xc-transfer/asset-transfer.zndsl
```

- transfer regions

```
zombienet-linux -p native test ./zombienet_tests/xc-transfer/region-transfer.zndsl
```
10 changes: 0 additions & 10 deletions zombienet_tests/0002-native-fee-payment.zndsl

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Description: Custom currency fee payment
Network: ./0003-custom-fee-payment.toml
Network: ./custom-fee-payment.toml
Creds: config

rococo-validator01: is up
rococo-validator02: is up

rococo-validator01: parachain 2000 is registered within 225 seconds

regionx-collator01: js-script ../e2e_tests/build/fee-payment/custom.js return is 0 within 400 seconds
regionx-collator01: js-script ../../e2e_tests/build/fee-payment/custom.js return is 0 within 400 seconds
10 changes: 10 additions & 0 deletions zombienet_tests/fee-payment/native-fee-payment.zndsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description: Native currency fee payment
Network: ./native-fee-payment.toml
Creds: config

alice: is up
bob: is up

alice: parachain 2000 is registered within 225 seconds

regionx-collator01: js-script ../../e2e_tests/build/fee-payment/native.js return is 0 within 200 seconds
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Description: Block production smoke test
Network: ./0001-block-production.toml
Network: ./block-production.toml
Creds: config

alice: is up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Description: Governance by relay chain token holders
Network: ./0004-delegated-governance.toml
Network: ./delegated-governance.toml
Creds: config

rococo-validator01: is up
rococo-validator02: is up

rococo-validator01: parachain 2000 is registered within 225 seconds

regionx-collator01: js-script ../e2e_tests/build/governance/delegated.js return is 0 within 400 seconds
regionx-collator01: js-script ../../e2e_tests/build/governance/delegated.js return is 0 within 400 seconds
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Description: Governance by RegionX token holders
Network: ./0005-native-governance.toml
Network: ./native-governance.toml
Creds: config

rococo-validator01: is up
rococo-validator02: is up

rococo-validator01: parachain 2000 is registered within 225 seconds

regionx-collator01: js-script ../e2e_tests/build/governance/native.js return is 0 within 400 seconds
regionx-collator01: js-script ../../e2e_tests/build/governance/native.js return is 0 within 400 seconds
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Description: Cross chain transfer between RegionX and the relay chain
Network: ./0006-asset-transfer.toml
Network: ./asset-transfer.toml
Creds: config

rococo-validator01: is up
rococo-validator02: is up

rococo-validator01: parachain 2000 is registered within 225 seconds

regionx-collator01: js-script ../e2e_tests/build/xc-transfer/asset-transfer.js return is 0 within 400 seconds
regionx-collator01: js-script ../../e2e_tests/build/xc-transfer/asset-transfer.js return is 0 within 400 seconds

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Description: Native currency fee payment
Network: ./0007-region-transfer.toml
Network: ./region-transfer.toml
Creds: config

rococo-validator01: is up
rococo-validator02: is up

rococo-validator01: parachain 2000 is registered within 225 seconds

regionx-collator01: js-script ../e2e_tests/build/xc-transfer/region-transfer.js return is 0 within 600 seconds
regionx-collator01: js-script ../../e2e_tests/build/xc-transfer/region-transfer.js return is 0 within 600 seconds
Loading