Skip to content

Commit

Permalink
chore: update lighthouse to latest unstable version in sim tests (#7364)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nflaig authored Jan 15, 2025
1 parent 3ea46e2 commit 0a93016
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down Expand Up @@ -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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0a93016

Please sign in to comment.