Skip to content

Commit

Permalink
restructure zombienet tests (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuteolaf authored May 13, 2024
1 parent d958487 commit c81f9fd
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 42 deletions.
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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

File renamed without changes.
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

0 comments on commit c81f9fd

Please sign in to comment.