🌳
pt0/klustersF/harv2demo/epEthF.mjs
1import * as kcfg from "./common.mjs"
14/** @type {{execClientType: 'geth', consClientType: 'teku'}} */
15const ethSyncCfg = {execClientType: 'geth', consClientType: 'teku'}
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.fuzzyPodName
26if (isDirectlyRun(import.meta.url)) {
28 importMetaUrl: import.meta.url, action: getAction(), ethStatusCfg,
29 getSafeEthVal, ethNetwork,
30 })
31 klusterCtx.enterWith(kcfg)
33 checkpointSyncCtx.enterWith({ // ctx:clear
34 checkpointSyncUrl: 'https://mainnet-checkpoint-sync.attestant.io',
35 })
37 await doSyncMevboost({image: 'flashbots/mev-boost:1.12'}) // 260417
39 await doSyncGeth({
40 image: 'ethereum/client-go:v1.17.2', // 260417
41 ethNetwork,
42 sizeGb: 3000,
43 nodePort: gethNodePort,
44 networkConfig: null,
45 })
47 await doApplyTeku({
48 eth1ClientName: 'geth',
49 ethNetwork,
50 ethRewardAddr,
51 tekuNodePort,
52 enableValidator: false,
53 relayHostPort: null,
54 wsCheckpointS: null,
55 tekuBeaconApiNodePort: null,
56 guardValidatorFn: guardValidatorJsdemo,
57 image: 'consensys/teku:26.4-jdk21', // 260417
58 })