Skip to content

Commit

Permalink
add eip7251-mass-consolidations.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Oct 16, 2024
1 parent f2857d6 commit e71d11c
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions playbooks/pectra-dev/eip7251-mass-consolidations.yaml
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"

0 comments on commit e71d11c

Please sign in to comment.