Created
May 16, 2024 14:39
-
-
Save lucassaldanha/3190caa66df8e3852431b08124546e0e 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" | |
tasks: | |
- name: check_clients_are_healthy | |
title: "Check if at least one client is ready" | |
timeout: 5m | |
config: | |
minClientCount: 1 | |
- name: generate_random_mnemonic | |
title: "Generate random mnemonic" | |
config: | |
mnemonicResultVar: "validatorMnemonic" | |
- name: generate_child_wallet | |
title: "Generate wallet for lifecycle test" | |
config: | |
prefundMinBalance: 2501000000000000000000 # ensure 2501 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 2 deposits with 1000 ETH each" | |
config: | |
limitTotal: 3 | |
limitPerSlot: 1 | |
limitPending: 1 | |
depositAmount: 1000 | |
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