Commit 6f868ccf authored by pk910's avatar pk910 Committed by GitHub

fix: built in validator lifecycle test for assertoor (#763)

update the built int validator-lifecycle-test for assertoor
parent ba911745
id: validator-lifecycle-test
name: "Validator Lifecycle Test" name: "Validator Lifecycle Test"
timeout: 72h timeout: 72h
config: config:
#walletPrivkey: "" walletPrivkey: ""
validatorMnemonic: "trial jeans seat abstract runway cupboard please elevator club file arrow lounge crash sun thumb clock duty priority key fence funny trick diary album" validatorMnemonic: "trial jeans seat abstract runway cupboard please elevator club file arrow lounge crash sun thumb clock duty priority key fence funny trick diary album"
#validatorPairNames: [] validatorPairNames: []
tasks: tasks:
- name: check_clients_are_healthy - name: check_clients_are_healthy
title: "Check if at least one client is ready" title: "Check if at least one client is ready"
...@@ -20,31 +21,51 @@ tasks: ...@@ -20,31 +21,51 @@ tasks:
config: config:
limitTotal: 300 limitTotal: 300
limitPerSlot: 20 limitPerSlot: 20
limitPending: 50
depositContract: "0x4242424242424242424242424242424242424242" depositContract: "0x4242424242424242424242424242424242424242"
awaitReceipt: true
configVars: configVars:
walletPrivkey: "walletPrivkey" walletPrivkey: "walletPrivkey"
mnemonic: "validatorMnemonic" mnemonic: "validatorMnemonic"
- name: run_task_options - name: run_task_background
title: "Check deposit inclusion" title: "Check deposit inclusion with all client pairs"
config: config:
ignoreFailure: true onBackgroundComplete: succeed
task: backgroundTask:
name: run_task_matrix name: run_tasks
title: "Check deposit inclusion with all client pairs" title: "Await end of next deposit voting period"
timeout: 48h config:
configVars: tasks:
matrixValues: "validatorPairNames" - name: check_consensus_validator_status
title: "Wait for inclusion of the last deposit"
config:
validatorPubKey: 0xa4a6121cb76eaf63e520615368a21d504c6f7363b5045f965e3587f623a6f7f1ce32af63ce3c535e75cd831db27c5abd
validatorStatus:
- pending_initialized
- pending_queued
- active_ongoing
foregroundTask:
name: run_task_options
title: "Check deposit inclusion"
config: config:
runConcurrent: true ignoreFailure: true
matrixVar: "validatorPairName"
task: task:
name: check_consensus_block_proposals name: run_task_matrix
title: "Wait for block proposal with deposits from ${validatorPairName}" title: "Check deposit inclusion with all client pairs"
timeout: 48h
configVars: configVars:
validatorNamePattern: "validatorPairName" matrixValues: "validatorPairNames"
config: 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. # due to the deposits we should reach un-finality soon.
- name: check_consensus_validator_status - name: check_consensus_validator_status
...@@ -196,12 +217,16 @@ tasks: ...@@ -196,12 +217,16 @@ tasks:
minProposerSlashingCount: 1 minProposerSlashingCount: 1
# exit 150 validators and wait for finality # exit 150 validators and wait for finality
- name: generate_exits - name: run_task_options
title: "Exit 150 Validators" title: "Exit 150 validators"
config: config:
indexCount: 150 task:
configVars: name: generate_exits
mnemonic: "validatorMnemonic" title: "Exit 150 Validators"
config:
indexCount: 150
configVars:
mnemonic: "validatorMnemonic"
- name: check_consensus_finality - name: check_consensus_finality
title: "Wait for consensus chain finality" title: "Wait for consensus chain finality"
timeout: 18h timeout: 18h
...@@ -236,7 +261,7 @@ tasks: ...@@ -236,7 +261,7 @@ tasks:
matrixVar: "validatorPairName" matrixVar: "validatorPairName"
task: task:
name: check_consensus_block_proposals name: check_consensus_block_proposals
title: "Wait for block proposal with deposits from ${validatorPairName}" title: "Wait for block proposal with BLS changes from ${validatorPairName}"
configVars: configVars:
validatorNamePattern: "validatorPairName" validatorNamePattern: "validatorPairName"
config: config:
...@@ -269,7 +294,7 @@ tasks: ...@@ -269,7 +294,7 @@ tasks:
matrixVar: "validatorPairName" matrixVar: "validatorPairName"
task: task:
name: check_consensus_block_proposals name: check_consensus_block_proposals
title: "Wait for block proposal with deposits from ${validatorPairName}" title: "Wait for block proposal with exits from ${validatorPairName}"
configVars: configVars:
validatorNamePattern: "validatorPairName" validatorNamePattern: "validatorPairName"
config: config:
...@@ -344,10 +369,26 @@ tasks: ...@@ -344,10 +369,26 @@ tasks:
minProposerSlashingCount: 1 minProposerSlashingCount: 1
cleanupTasks: cleanupTasks:
- name: generate_exits - name: run_task_options
title: "Exit all test validators" title: "Exit all validators"
config:
task:
name: generate_exits
title: "Exit all test validators"
config:
limitTotal: 300
indexCount: 300
configVars:
mnemonic: "validatorMnemonic"
- name: run_task_options
title: "Withdraw all funds"
config: config:
limitTotal: 300 task:
indexCount: 300 name: generate_bls_changes
configVars: title: "Generate BLS changes for all validators"
mnemonic: "validatorMnemonic" config:
\ No newline at end of file limitTotal: 300
indexCount: 300
targetAddress: 0x65D08a056c17Ae13370565B04cF77D2AfA1cB9FA
configVars:
mnemonic: "validatorMnemonic"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment