-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
id: validator-slashing-single | ||
name: "Validator Slashing Single" | ||
timeout: 1h | ||
config: | ||
validatorMnemonic: "giant issue aisle success illegal bike spike question tent bar rely arctic volcano long crawl hungry vocal artwork sniff fantasy very lucky have athlete" | ||
validatorIndex: 0 | ||
validatorCount: 1 | ||
tasks: | ||
- name: check_clients_are_healthy | ||
title: "Check if at least one client is ready" | ||
timeout: 5m | ||
config: | ||
minClientCount: 1 | ||
- name: check_consensus_slot_range | ||
title: "Wait for epoch >= 4" | ||
timeout: 1h # 4 epochs = ~0.5h | ||
config: | ||
minEpochNumber: 4 | ||
|
||
- name: run_task_background | ||
title: "Generate & send proposer slashing" | ||
config: | ||
onBackgroundComplete: "fail" | ||
backgroundTask: | ||
name: generate_slashings | ||
title: "Generate 1 proposer slashing per slot" | ||
config: | ||
slashingType: "proposer" | ||
limitPerSlot: 1 | ||
configVars: | ||
mnemonic: "validatorMnemonic" | ||
startIndex: "validatorIndex" | ||
limitTotal: "validatorCount" | ||
indexCount: "validatorCount" | ||
|
||
foregroundTask: | ||
name: check_consensus_block_proposals | ||
title: "Wait for block proposal with proposer slashings" | ||
config: | ||
minProposerSlashingCount: 1 |