1import * as kcfg from "./common.mjs"2import { klusterCtx } from "../../deployF/k8sF/ctxF/klusterCtxF.mts"3import { getAction } from "../../deployF/ctxF/actionCtxF.mts"4import { doSyncReth } from "../../deployF/ethF/doSyncRethAI.mts"5import { doSyncNimbus } from "../../deployF/ethF/doSyncNimbusAI.mts"6import { doSyncMevboost } from "../../deployF/ethF/doSyncMevboostF.mts"7import { ethNetwork, ethRewardAddr } from "../../deployF/ethF/binF/mainnetPlaceholderAI.mjs"8import { rethNodePort, nimbusNodePort, nodeIpsExtHost } from "../../nodeportsF/harv3demo.mjs"9import { handleEthCliActions } from "../../deployF/ethF/handleEthCliActionsAI.mts"10import { isDirectlyRun } from "../../serverF/isDirectlyRunF.mts"11import { mkEthStatusCfg } from "../../deployF/ethF/ethClientTypesAI.mts"12import { guardValidatorJsdemo, getSafeEthVal } from "../../deployF/ethF/binF/guardValidatorAI.mjs"14/** @type {{execClientType: 'reth', consClientType: 'nimbus'}} */15const ethSyncCfg = {execClientType: 'reth', consClientType: 'nimbus'}17export const ethStatusCfg = mkEthStatusCfg({18 cluster_name: kcfg.cluster_name,19 ethNetwork,20 importMetaUrl: import.meta.url,21 ...ethSyncCfg,22})24export const exampleName = ethStatusCfg.execClient.fuzzyPodName26if (isDirectlyRun(import.meta.url)) {27 await handleEthCliActions({29 getSafeEthVal, ethNetwork,30 })31 klusterCtx.enterWith(kcfg)33 await doSyncMevboost({image: 'flashbots/mev-boost:1.12'}) // 26031735 await doSyncReth({36 ethNetwork,37 sizeGb: 3000,38 rethNodePort,39 rethV: 'v2.3.0', // 26062240 })42 await doSyncNimbus({43 nimbusV: 'v26.6.0', // 26062244 guardValidatorFn: guardValidatorJsdemo,45 enableValidator: false,46 eth1ClientName: 'reth',47 ethNetwork,48 ethRewardAddr,49 p2pHostIp: nodeIpsExtHost,50 nimbusNodePort,51 cpSyncApiUrl: 'https://beaconstate.ethstaker.cc',52 })53}