-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add eip7251-mass-consolidations.yaml
- Loading branch information
Showing
1 changed file
with
52 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,52 @@ | ||
|
||
id: eip7251-mass-consolidations | ||
name: "EIP7251 mass consolidations test" | ||
timeout: 38h | ||
config: | ||
walletPrivkey: "" | ||
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" | ||
validatorStartIndex: 0 | ||
tasks: | ||
- name: check_clients_are_healthy | ||
title: "Check if at least one client is ready" | ||
timeout: 5m | ||
config: | ||
minClientCount: 1 | ||
|
||
# wait for electra activation | ||
- name: get_consensus_specs | ||
id: get_specs | ||
title: "Get consensus chain specs" | ||
- name: check_consensus_slot_range | ||
title: "Wait for electra activation" | ||
timeout: 1h | ||
configVars: | ||
minEpochNumber: "tasks.get_specs.outputs.specs.ELECTRA_FORK_EPOCH" | ||
|
||
# get pubkeys for the test validators | ||
- name: get_pubkeys_from_mnemonic | ||
id: validator_pubkeys | ||
title: "Get test validator pubkey" | ||
config: | ||
count: 1 | ||
configVars: | ||
startIndex: "" | ||
mnemonic: "validatorMnemonic" | ||
|
||
# wait for exitability | ||
|
||
- name: run_tasks | ||
title: "Send mass el triggered withdrawals" | ||
config: | ||
stopChildOnResult: false | ||
tasks: | ||
- name: generate_consolidation_requests | ||
title: "Send 100 EL triggered consolidation transactions for key 0" | ||
config: | ||
limitTotal: 100 | ||
awaitReceipt: true | ||
failOnReject: true | ||
configVars: | ||
sourceStartValidatorIndex: "validatorStartIndex" | ||
targetValidatorIndex: "validatorStartIndex" | ||
walletPrivkey: "walletPrivkey" |