File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 7979echo " $config_content " > " ${__dir} /generated-assertoor-config.yaml"
8080
8181if [ -f " ${__dir} /custom-ai-config.yaml" ]; then
82+ # Remove existing 'ai' object from the generated config file
83+ yq ' del(.ai)' " ${__dir} /generated-assertoor-config.yaml" > " ${__dir} /generated-assertoor-config.yaml.tmp" && mv " ${__dir} /generated-assertoor-config.yaml.tmp" " ${__dir} /generated-assertoor-config.yaml"
84+
8285 ai_config_file=" ${__dir} /custom-ai-config.yaml"
8386 cat " $ai_config_file " | envsubst >> " ${__dir} /generated-assertoor-config.yaml"
8487fi
Original file line number Diff line number Diff line change 1+ id : builder-deposit
2+ name : Validator Deposit with 0x03 Builder Credentials
3+ timeout : 30m
4+ config :
5+ walletPrivkey : ' '
6+ depositContract : ' 0x00000000219ab540356cBB839Cbe05303d7705Fa' # Mainnet deposit contract
7+ tasks :
8+ - name : check_clients_are_healthy
9+ title : Check if at least one client is ready
10+ timeout : 5m
11+ config :
12+ minClientCount : 1
13+ - name : generate_child_wallet
14+ id : test_wallet
15+ title : Generate wallet for deposit operations
16+ config :
17+ walletSeed : builder-deposit-test
18+ prefundMinBalance : 10000000000000000000
19+ configVars :
20+ privateKey : walletPrivkey
21+ - name : get_random_mnemonic
22+ id : test_mnemonic
23+ title : Generate random mnemonic for test validator
24+ - name : generate_deposits
25+ title : Generate validator deposit with 0x03 credentials
26+ config :
27+ limitTotal : 1
28+ depositAmount : 5
29+ awaitReceipt : true
30+ awaitInclusion : true
31+ configVars :
32+ walletPrivkey : tasks.test_wallet.outputs.childWallet.privkey
33+ mnemonic : tasks.test_mnemonic.outputs.mnemonic
34+ depositContract : depositContract
35+ withdrawalCredentials : ' | "0x03" + ("00" * 11) + (.tasks.test_wallet.outputs.childWallet.address | ltrimstr("0x"))'
You can’t perform that action at this time.
0 commit comments