Created
May 16, 2024 13:47
-
-
Save pawanjay176/2b20d31bb7902e497ed4313f6a04ee50 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
id: pectra-massive-deposit | |
name: "Massive deposit test" | |
timeout: 672h | |
config: | |
#walletPrivkey: "" | |
depositContract: "0x4242424242424242424242424242424242424242" | |
slot: 44 | |
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 slot >= ${slot}" | |
timeout: 2h | |
configVars: | |
minSlotNumber: "slot" | |
- name: generate_random_mnemonic | |
title: "Generate random mnemonic" | |
config: | |
mnemonicResultVar: "validatorMnemonic" | |
- name: generate_child_wallet | |
title: "Generate wallet for lifecycle test" | |
config: | |
prefundMinBalance: 2501000000000000000000000 # ensure 25010 ETH | |
walletAddressResultVar: "depositorAddress" | |
walletPrivateKeyResultVar: "depositorPrivateKey" | |
configVars: | |
privateKey: "walletPrivkey" | |
# generate deposits & wait for activation | |
- name: run_tasks | |
title: "Generate deposits & track inclusion" | |
config: | |
stopChildOnResult: false | |
tasks: | |
- name: generate_deposits | |
title: "Generate 1000 deposit topups with 1 ETH each" | |
config: | |
limitTotal: 1000 | |
limitPerSlot: 1000 | |
limitPending: 1000 | |
depositAmount: 1 | |
awaitReceipt: true | |
failOnReject: true | |
validatorPubkeysResultVar: "validatorPubkeys" | |
configVars: | |
walletPrivkey: "depositorPrivateKey" | |
mnemonic: "validatorMnemonic" | |
depositContract: "depositContract" | |
- name: run_task_matrix | |
title: "Wait for detection of all deposited keys" | |
configVars: | |
matrixValues: "validatorPubkeys" | |
config: | |
runConcurrent: true | |
matrixVar: "validatorPubkey" | |
task: | |
name: check_consensus_validator_status | |
title: "Wait for validator to become activated (${validatorPubkey})" | |
config: | |
validatorStatus: | |
- pending_initialized | |
configVars: | |
validatorPubKey: "validatorPubkey" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment