Add CLI flag to define execution engine timout (#11489)

* Add CLI flag to define execution engine timout

* Rm unused

* Fix import

* Fix lint

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2022-09-30 11:05:05 -07:00
committed by GitHub
parent 7f686a7878
commit 1696208318
7 changed files with 27 additions and 8 deletions

View File

@@ -192,6 +192,13 @@ var (
Name: "network-id",
Usage: "Sets the network id of the beacon chain.",
}
// EngineEndpointTimeoutSeconds defines the seconds to wait before timing out engine endpoints with execution payload execution semantics (newPayload, forkchoiceUpdated).
// If this flag is not used then default will be used as defined here:
// https://github.com/ethereum/execution-apis/blob/main/src/engine/specification.md#core
EngineEndpointTimeoutSeconds = &cli.Uint64Flag{
Name: "engine-endpoint-timeout-seconds",
Usage: "Sets the execution engine timeout (seconds) for execution payload semantics (forkchoiceUpdated, newPayload)",
}
// Eth1HeaderReqLimit defines a flag to set the maximum number of headers that a deposit log query can fetch. If none is set, 1000 will be the limit.
Eth1HeaderReqLimit = &cli.Uint64Flag{
Name: "eth1-header-req-limit",