mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-10 08:08:16 -05:00
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:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user