(beacon_endpoint: &str)
| 187 | } |
| 188 | |
| 189 | fn validator_command(beacon_endpoint: &str) -> Vec<String> { |
| 190 | vec![ |
| 191 | "vc".to_string(), |
| 192 | format!("--testnet-dir={LIGHTHOUSE_TESTNET_DIR}"), |
| 193 | format!("--datadir={LIGHTHOUSE_VALIDATOR_DATA_DIR}"), |
| 194 | format!("--beacon-nodes={beacon_endpoint}"), |
| 195 | format!("--suggested-fee-recipient={:#x}", DEPLOYER.address), |
| 196 | "--init-slashing-protection".to_string(), |
| 197 | ] |
| 198 | } |
| 199 | |
| 200 | fn path_for_mount(path: &Path) -> String { |
| 201 | path.to_string_lossy().to_string() |