Files
pezkuwi-subxt/polkadot/zombienet_tests/functional/0010-validator-disabling.zndsl
T
ordian a4195326b9 statement-distribution: validator disabling (#1841)
Closes #1591.

The purpose of this PR is filter out backing statements from the network
signed by disabled validators. This is just an optimization, since we
will do filtering in the runtime in #1863 to avoid nodes to filter
garbage out at block production time.

- [x] Ensure it's ok to fiddle with the mask of manifests
- [x] Write more unit tests
- [x] Test locally
- [x] simple zombienet test
- [x] PRDoc

---------

Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
2024-01-10 10:32:52 +01:00

22 lines
809 B
Plaintext

Description: Test validator disabling effects
Network: ./0010-validator-disabling.toml
Creds: config
# Ensure nodes are up and running
honest-validator: reports node_roles is 4
# Ensure parachain is registered
honest-validator: parachain 1000 is registered within 100 seconds
# Ensure parachain made progress
honest-validator: parachain 1000 block height is at least 1 within 300 seconds
# Wait for the dispute
honest-validator-1: reports parachain_candidate_disputes_total is at least 1 within 600 seconds
# Disputes should conclude
honest-validator: reports polkadot_parachain_candidate_dispute_concluded{validity="invalid"} is at least 1 within 200 seconds
# Wait for a few blocks for the disabling to take place.
honest-validator: log line contains "Disabled validators detected" within 180 seconds