mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
a4195326b9
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>
22 lines
809 B
Plaintext
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
|