mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 15:41:02 +00:00
e6bd920543
Test started failing after https://github.com/paritytech/polkadot-sdk/commit/66051adb619d2119771920218e2de75fa037d7e8 which enabled approval coalescing, that was expected to happen because the test required an polkadot_parachain_approval_checking_finality_lag of 0, which can't happen with max_approval_coalesce_count greater than 1 because we always delay the approval for no_show_duration_ticks/2 in case we can coalesce it with other approvals. So relax a bit the restrictions, since we don't actually care that the lags are 0, but the fact the finalities are progressing and are not stuck. Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
Description: Test if disputes triggered on finalized blocks within scope always end as valid.
|
|
Network: ./0007-dispute-freshly-finalized.toml
|
|
Creds: config
|
|
|
|
# Check authority status and peers.
|
|
malus: reports node_roles is 4
|
|
honest: reports node_roles is 4
|
|
|
|
# Ensure parachains are registered.
|
|
honest: parachain 2000 is registered within 30 seconds
|
|
|
|
# Ensure parachains made progress.
|
|
honest: parachain 2000 block height is at least 10 within 200 seconds
|
|
|
|
# Ensure that malus is already attempting to dispute
|
|
malus: log line contains "😈 Disputing candidate with hash:" within 180 seconds
|
|
|
|
# Check if disputes are initiated and concluded.
|
|
honest: reports polkadot_parachain_candidate_disputes_total is at least 2 within 100 seconds
|
|
honest: reports polkadot_parachain_candidate_dispute_concluded{validity="valid"} is at least 2 within 100 seconds
|
|
honest: reports polkadot_parachain_candidate_dispute_concluded{validity="invalid"} is 0 within 100 seconds
|
|
|
|
# Check lag - approval
|
|
honest: reports polkadot_parachain_approval_checking_finality_lag is lower than 2
|
|
|
|
# Check lag - dispute conclusion
|
|
honest: reports polkadot_parachain_disputes_finality_lag is lower than 2
|
|
|
|
|