chore: update lighthouse to latest unstable version in sim tests (#7364)

* chore: update lighthouse to latest unstable version

* Remove unsupported CLI flags

* Update to deposit_contract_block.txt

* Update to deposit_contract_block.txt for validator
This commit is contained in:
Nico Flaig
2025-01-15 14:02:08 +00:00
committed by GitHub
parent 3ea46e2094
commit 0a93016ef4
3 changed files with 3 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
GETH_DOCKER_IMAGE=ethereum/client-go:v1.13.14
# Use either image or local binary for the testing
GETH_BINARY_DIR=
LIGHTHOUSE_DOCKER_IMAGE=sigp/lighthouse:v5.1.1-amd64-modern-dev
LIGHTHOUSE_DOCKER_IMAGE=sigp/lighthouse:latest-amd64-unstable
# We can't upgrade nethermind further due to genesis hash mismatch with the geth
# https://github.com/NethermindEth/nethermind/issues/6683

View File

@@ -29,10 +29,6 @@ export const generateLighthouseBeaconNode: BeaconNodeGenerator<BeaconClient.Ligh
"testnet-dir": rootDirMounted,
datadir: rootDirMounted,
http: null,
// Enable the RESTful HTTP API server. Disabled by default.
// Forces the HTTP to indicate that the node is synced when sync is actually
// stalled. This is useful for very small testnets. TESTING ONLY. DO NOT USE ON MAINNET.
"http-allow-sync-stalled": null,
"http-address": "0.0.0.0",
"http-port": ports.beacon.httpPort,
"http-allow-origin": "*",
@@ -74,7 +70,7 @@ export const generateLighthouseBeaconNode: BeaconNodeGenerator<BeaconClient.Ligh
: undefined,
bootstrap: async () => {
await writeFile(path.join(rootDir, "config.yaml"), yaml.dump(chainConfigToJson(forkConfig)));
await writeFile(path.join(rootDir, "deploy_block.txt"), "0");
await writeFile(path.join(rootDir, "deposit_contract_block.txt"), "0");
},
cli: {
command: isDocker ? "lighthouse" : (process.env.LIGHTHOUSE_BINARY_PATH as string),

View File

@@ -65,7 +65,7 @@ export const generateLighthouseValidatorNode: ValidatorNodeGenerator<ValidatorCl
);
}
await writeFile(path.join(rootDir, "config.yaml"), yaml.dump(chainConfigToJson(forkConfig)));
await writeFile(path.join(rootDir, "deploy_block.txt"), "0");
await writeFile(path.join(rootDir, "deposit_contract_block.txt"), "0");
},
cli: {
command: binaryPath,