Skip to content

Commit

Permalink
validator-lifecycle-test: cancel deposit inclusion check when depos…
Browse files Browse the repository at this point in the history
…it inclusion from voting period ended
  • Loading branch information
pk910 committed Sep 11, 2024
1 parent 9ea97a2 commit 0b65f79
Showing 1 changed file with 33 additions and 15 deletions.
48 changes: 33 additions & 15 deletions playbooks/dev/validator-lifecycle-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,44 @@ tasks:
walletPrivkey: "walletPrivkey"
mnemonic: "validatorMnemonic"

- name: run_task_options
title: "Check deposit inclusion"
- name: run_task_background
title: "Check deposit inclusion with all client pairs"
config:
ignoreFailure: true
task:
name: run_task_matrix
title: "Check deposit inclusion with all client pairs"
timeout: 48h
configVars:
matrixValues: "validatorPairNames"
onBackgroundComplete: succeed
backgroundTask:
name: run_tasks
title: "Await end of next deposit voting period"
config:
tasks:
- name: check_consensus_block_proposals
title: "Wait for block proposal with deposits (start of deposit inclusion)"
config:
minDepositCount: 1
- name: check_consensus_block_proposals
title: "Wait for block proposal without deposits (end of deposit inclusion)"
config:
minDepositCount: 1
foregroundTask:
name: run_task_options
title: "Check deposit inclusion"
config:
runConcurrent: true
matrixVar: "validatorPairName"
ignoreFailure: true
task:
name: check_consensus_block_proposals
title: "Wait for block proposal with deposits from ${validatorPairName}"
name: run_task_matrix
title: "Check deposit inclusion with all client pairs"
timeout: 48h
configVars:
validatorNamePattern: "validatorPairName"
matrixValues: "validatorPairNames"
config:
minDepositCount: 1
runConcurrent: true
matrixVar: "validatorPairName"
task:
name: check_consensus_block_proposals
title: "Wait for block proposal with deposits from ${validatorPairName}"
configVars:
validatorNamePattern: "validatorPairName"
config:
minDepositCount: 1

# due to the deposits we should reach un-finality soon.
- name: check_consensus_validator_status
Expand Down

0 comments on commit 0b65f79

Please sign in to comment.