Skip to content

Instantly share code, notes, and snippets.

@lucassaldanha
Created May 17, 2024 19:33
Show Gist options
  • Save lucassaldanha/bc07586fa8fe439a9856d7c4a71a9d87 to your computer and use it in GitHub Desktop.
Save lucassaldanha/bc07586fa8fe439a9856d7c4a71a9d87 to your computer and use it in GitHub Desktop.
id: el-triggered-exit
name: "EL-triggered exit test"
timeout: 1h
config:
#walletPrivkey: ""
validatorIndex: 20
tasks:
- name: check_clients_are_healthy
title: "Check if at least one client is ready"
timeout: 5m
config:
minClientCount: 1
- name: generate_transaction
title: "Exit Validator ${validatorIndex} via EL"
config:
targetAddress: "0x00A3ca265EBcb825B45F985A16CEFB49958cE017"
feeCap: 50000000000 # 50 gwei
gasLimit: 1000000
amount: "500000000000000000" # 0.5 ETH
failOnReject: true
configVars:
privateKey: "walletPrivkey"
# 0x0000000000000000 is the amount as uint64, 0 means full withdrawal / exit
callData: "| .validatorPubKey + \"0000000000000000\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment