Update Geth Version In Prysm (#11308)

* clean up

* clean up
This commit is contained in:
Nishant Das
2022-08-25 21:55:01 +08:00
committed by GitHub
parent 2317375983
commit 1c6cbc574e
6 changed files with 12 additions and 12 deletions

View File

@@ -90,13 +90,9 @@ func (node *Node) Start(ctx context.Context) error {
"--ws.origins=\"*\"",
"--ipcdisable",
"--verbosity=4",
"--syncmode=full",
fmt.Sprintf("--txpool.locals=%s", EthAddress),
}
// If we are testing sync, geth needs to be run via full sync as snap sync does not
// work in our setup.
if node.index == e2e.TestParams.BeaconNodeCount+e2e.TestParams.LighthouseBeaconNodeCount {
args = append(args, []string{"--syncmode=full"}...)
}
runCmd := exec.CommandContext(ctx, binaryPath, args...) // #nosec G204 -- Safe
file, err := os.Create(path.Join(e2e.TestParams.LogPath, "eth1_"+strconv.Itoa(node.index)+".log"))
if err != nil {