From b89531c56092308de216533384267a49a65e5a66 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Tue, 23 Jan 2024 16:55:13 +0100 Subject: [PATCH] Zombienet --- .../functional/0011-beefy-and-mmr.toml | 21 +++++++++++++++++++ .../functional/0011-beefy-and-mmr.zndsl | 14 +++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 polkadot/zombienet_tests/functional/0011-beefy-and-mmr.toml create mode 100644 polkadot/zombienet_tests/functional/0011-beefy-and-mmr.zndsl diff --git a/polkadot/zombienet_tests/functional/0011-beefy-and-mmr.toml b/polkadot/zombienet_tests/functional/0011-beefy-and-mmr.toml new file mode 100644 index 000000000000..6c9b54c0950a --- /dev/null +++ b/polkadot/zombienet_tests/functional/0011-beefy-and-mmr.toml @@ -0,0 +1,21 @@ +[settings] +timeout = 1000 + +[relaychain] +default_command = "/home/serban/workplace/sources/polkadot-sdk/target/release/polkadot" +chain = "rococo-local" + +[[relaychain.node_groups]] +name = "stable" +count = 3 +args = ["--log=beefy=debug", "--enable-offchain-indexing=true"] + +[[relaychain.node_groups]] +name = "unstable-1" +count = 5 +args = ["--log=beefy=debug", "--enable-offchain-indexing=true"] + +[[relaychain.node_groups]] +name = "unstable-2" +count = 3 +args = ["--log=beefy=debug", "--enable-offchain-indexing=true"] diff --git a/polkadot/zombienet_tests/functional/0011-beefy-and-mmr.zndsl b/polkadot/zombienet_tests/functional/0011-beefy-and-mmr.zndsl new file mode 100644 index 000000000000..8f0a39bf2894 --- /dev/null +++ b/polkadot/zombienet_tests/functional/0011-beefy-and-mmr.zndsl @@ -0,0 +1,14 @@ +Description: Test BEEFY voting and finality, test MMR proofs. Assumes Rococo sessions of 1 minute. +Network: ./0011-beefy-and-mmr.toml +Creds: config + +stable: reports finalised height is at least 9 within 120 seconds + +unstable-1: pause +unstable-2: pause + +sleep 10 seconds + +unstable-1: restart + +sleep 300 seconds