-
Notifications
You must be signed in to change notification settings - Fork 41
Add KAGOME minority tests for PVF preparation and BEEFY voting #2441
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds new tests for KAGOME minority nodes for both PVF preparation and BEEFY voting scenarios.
- Introduces two new configuration files: one for PVF preparation (0001-parachains-pvf-kagome-minority.toml) and one for BEEFY voting (0003-beefy-and-mmr-kagome-minority.toml).
- Updates the zombie-tests workflow to include the new KAGOME minority tests.
Reviewed Changes
Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| zombienet/polkadot/functional/0003-beefy-and-mmr-kagome-minority.toml | Adds configuration for BEEFY voting with KAGOME minority nodes. |
| zombienet/polkadot/functional/0001-parachains-pvf-kagome-minority.toml | Adds configuration for PVF preparation with KAGOME minority nodes. |
| .github/workflows/zombie-tests.yaml | Updates test matrix to include new KAGOME minority test cases. |
Files not reviewed (3)
- zombienet/docker/Makefile.include/zombietests.mk: Language not supported
- zombienet/polkadot/functional/0001-parachains-pvf-kagome-minority.zndsl: Language not supported
- zombienet/polkadot/functional/0003-beefy-and-mmr-kagome-minority.zndsl: Language not supported
zombienet/polkadot/functional/0001-parachains-pvf-kagome-minority.toml
Outdated
Show resolved
Hide resolved
| name = "two" | ||
| command = "kagome" | ||
| prometheus_prefix = "kagome" | ||
| args = [ "--two", "--wasm-execution Compiled", "-lparachain=debug", "-lruntime=debug", "-lreq_chunk_protocol=trace"] |
Copilot
AI
Apr 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The '--wasm-execution' argument here is missing an equals sign; aligning it with '--wasm-execution=Compiled' (as used in the 0003 file) would improve consistency.
| args = [ "--two", "--wasm-execution Compiled", "-lparachain=debug", "-lruntime=debug", "-lreq_chunk_protocol=trace"] | |
| args = [ "--two", "--wasm-execution=Compiled", "-lparachain=debug", "-lruntime=debug", "-lreq_chunk_protocol=trace"] |
…ity.toml Co-authored-by: Copilot <[email protected]>
| { name: "0001 PVF preparation & execution time", test: "test-polkadot-functional-0001-parachains-pvf" }, | ||
| { name: "0001 PVF preparation & execution time with KAGOME minority", test: "test-polkadot-functional-0001-parachains-pvf-kagome-minority" }, | ||
| { name: "0003 BEEFY voting and finality, test MMR proofs. Assumes Rococo sessions of 1 minute", test: "test-polkadot-functional-0003-beefy-and-mmr" }, | ||
| { name: "0003 BEEFY voting and finality, test MMR proofs. Assumes Rococo sessions of 1 minute with KAGOME minority", test: "test-polkadot-functional-0003-beefy-and-mmr-kagome-minority" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in this case it's better to name the test with an additional identifier, for example '0003a' instead of just '0003', so that they can be quickly distinguished by name in the UI
|
|
||
| test-polkadot-functional-0003-beefy-and-mmr: | ||
| $(call run_test, "kagome/zombienet/polkadot/functional/0003-beefy-and-mmr.zndsl") | ||
| test-polkadot-functional-0003-beefy-and-mmr-kagome-minority: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe in this case it would also be a good idea to specify '0003a'.
Referenced issues
None
Description of the Change
Includes 0001 and 0003 tests with KAGOME minority nodes
Possible Drawbacks
None
Checklist Before Opening a PR
Before you open a Pull Request (PR), please make sure you've completed the following steps and confirm by answering 'Yes' to each item: