1import * as kcfg from "./common.mjs"2import { klusterCtx } from "../../deployF/k8sF/ctxF/klusterCtxF.mts"3import { getAction } from "../../deployF/ctxF/actionCtxF.mts"4import { doSyncNether } from "../../deployF/ethF/doSyncNetherF.mts"5import { doSyncPrysm } from "../../deployF/ethF/doSyncPrysmAI.mts"6import { doSyncMevboost } from "../../deployF/ethF/doSyncMevboostF.mts"7import { ethNetwork, ethRewardAddr } from "../../deployF/ethF/binF/mainnetPlaceholderAI.mjs"8import { nethNodePort, prysmNodePort, nodeIpsExtHost } from "../../nodeportsF/hetzn1.mjs"9import { dnsLookup } from "../../serverF/dnsF.mts"10import { handleEthCliActions } from "../../deployF/ethF/handleEthCliActionsAI.mts"11import { isDirectlyRun } from "../../serverF/isDirectlyRunF.mts"12import { mkEthStatusCfg } from "../../deployF/ethF/ethClientTypesAI.mts"14/** @type {{execClientType: 'nether', consClientType: 'prysm'}} */15const ethSyncCfg = {execClientType: 'nether', consClientType: 'prysm'}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({importMetaUrl: import.meta.url, action: getAction(), ethStatusCfg})28 klusterCtx.enterWith(kcfg)32 await doSyncMevboost({image: 'flashbots/mev-boost:1.12'}) // 26031934 await doSyncNether({35 ethNetwork,36 sizeGb: 800,37 nethNodePort,38 nethermindV: '1.39.2', // 26072439 podResources: {limits: {memory: '10Gi'}},40 pruned: true,41 })43 await doSyncPrysm({44 prysmVersion: 'v7.1.7', // 26071545 eth1ClientName: 'nether',46 ethNetwork,47 enableValidator: false,48 ethRewardAddr,49 p2pHostIp,50 prysmNodePort,51 relayHostPort: null,52 cpSyncApiUrl: 'https://mainnet-checkpoint-sync.attestant.io',53 podResources: {limits: {memory: '24Gi'}},54 })55}