From e71d11ce653066551efc8b6d5e1c9443ed42a2b9 Mon Sep 17 00:00:00 2001 From: pk910 Date: Wed, 16 Oct 2024 15:19:44 +0200 Subject: [PATCH] add eip7251-mass-consolidations.yaml --- .../eip7251-mass-consolidations.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 playbooks/pectra-dev/eip7251-mass-consolidations.yaml diff --git a/playbooks/pectra-dev/eip7251-mass-consolidations.yaml b/playbooks/pectra-dev/eip7251-mass-consolidations.yaml new file mode 100644 index 0000000..93ad394 --- /dev/null +++ b/playbooks/pectra-dev/eip7251-mass-consolidations.yaml @@ -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"