Description: Systematic chunk recovery is used if the chunk mapping feature is enabled. Network: ./0013-systematic-chunk-recovery.toml Creds: config # Check authority status. alice: reports node_roles is 4 validator: reports node_roles is 4 # Ensure parachains are registered. validator: parachain 2000 is registered within 60 seconds validator: parachain 2001 is registered within 60 seconds # Ensure parachains made progress and approval checking works. validator: parachain 2000 block height is at least 15 within 600 seconds validator: parachain 2001 block height is at least 15 within 600 seconds validator: reports substrate_block_height{status="finalized"} is at least 30 within 400 seconds validator: reports polkadot_parachain_approval_checking_finality_lag < 3 validator: reports polkadot_parachain_approvals_no_shows_total < 3 within 100 seconds # Ensure we used regular chunk recovery and that there are no failed recoveries. validator: count of log lines containing "Data recovery from chunks complete" is at least 10 within 300 seconds validator: count of log lines containing "Data recovery from systematic chunks complete" is 0 within 10 seconds validator: count of log lines containing "Data recovery from systematic chunks is not possible" is 0 within 10 seconds validator: count of log lines containing "Data recovery from chunks is not possible" is 0 within 10 seconds validator: reports polkadot_parachain_availability_recovery_recoveries_finished{result="failure"} is 0 within 10 seconds # Enable the chunk mapping feature alice: js-script ./0013-enable-node-feature.js with "2" return is 0 within 600 seconds validator: reports substrate_block_height{status="finalized"} is at least 60 within 400 seconds validator: reports polkadot_parachain_approval_checking_finality_lag < 3 validator: reports polkadot_parachain_approvals_no_shows_total < 3 within 100 seconds # Ensure we used systematic chunk recovery and that there are no failed recoveries. validator: count of log lines containing "Data recovery from systematic chunks complete" is at least 10 within 300 seconds validator: count of log lines containing "Data recovery from systematic chunks is not possible" is 0 within 10 seconds validator: count of log lines containing "Data recovery from chunks is not possible" is 0 within 10 seconds validator: reports polkadot_parachain_availability_recovery_recoveries_finished{result="failure"} is 0 within 10 seconds