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