@@ -115,9 +115,9 @@ tasks:
115115 depositContract : " depositContract"
116116 withdrawalCredentials : " | \" 0x010000000000000000000000\" + (.tasks.depositor_wallet.outputs.childWallet.address | capture(\" (0x)?(?<addr>.+)\" ).addr)"
117117
118- # 1 deposit, 24 ETH, 0x01 withdrawal creds (index 7)
118+ # 1 deposit, 24 ETH, 0x02 withdrawal creds (index 7)
119119 - name : generate_deposits
120- title : " Generate 1 deposit with 24 ETH and 0x01 withdrawal creds (index 7)"
120+ title : " Generate 1 deposit with 24 ETH and 0x02 withdrawal creds (index 7)"
121121 id : deposit_3
122122 config :
123123 limitTotal : 1
@@ -129,7 +129,7 @@ tasks:
129129 walletPrivkey : " tasks.depositor_wallet.outputs.childWallet.privkey"
130130 mnemonic : " tasks.test_mnemonic.outputs.mnemonic"
131131 depositContract : " depositContract"
132- withdrawalCredentials : " | \" 0x010000000000000000000000 \" + (.tasks.depositor_wallet.outputs.childWallet.address | capture(\" (0x)?(?<addr>.+)\" ).addr)"
132+ withdrawalCredentials : " | \" 0x020000000000000000000000 \" + (.tasks.depositor_wallet.outputs.childWallet.address | capture(\" (0x)?(?<addr>.+)\" ).addr)"
133133
134134 # 2 deposits, 64 ETH each, 0x02 withdrawal creds (index 8-9)
135135 - name : generate_deposits
@@ -587,6 +587,34 @@ tasks:
587587 config :
588588 tasks :
589589
590+ # generate self consolidation for key 5 & wait for inclusion
591+ - name : run_task_background
592+ title : " Generate self consolidation for key 5"
593+ timeout : 10m
594+ config :
595+ onBackgroundComplete : failOrIgnore
596+ backgroundTask :
597+ name : generate_consolidations
598+ title : " Generate 1 self consolidation (key 5)"
599+ config :
600+ limitTotal : 1
601+ sourceStartIndex : 5
602+ sourceIndexCount : 1
603+ awaitReceipt : true
604+ failOnReject : true
605+ configVars :
606+ sourceMnemonic : " tasks.test_mnemonic.outputs.mnemonic"
607+ targetPublicKey : " tasks.all_pubkeys.outputs.pubkeys[5]"
608+ walletPrivkey : " tasks.depositor_wallet.outputs.childWallet.privkey"
609+
610+ foregroundTask :
611+ name : check_consensus_block_proposals
612+ title : " Wait for inclusion of self consolidation request for key 5"
613+ config :
614+ minConsolidationRequestCount : 1
615+ configVars :
616+ expectConsolidationRequests : " | [{sourceAddress: .tasks.depositor_wallet.outputs.childWallet.address, sourcePubkey: .tasks.all_pubkeys.outputs.pubkeys[5]}]"
617+
590618 - name : run_task_background
591619 title : " Generate consolidations & track inclusion"
592620 config :
0 commit comments