Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new CLI option. #243

Merged
merged 20 commits into from
Jan 18, 2021
Merged
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/Reference/CLI/CLI-Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,38 @@ The deposit contract address can also be defined in:
* The genesis file specified using [`--initial-state`](#initial state)
* The predefined network supplied using [`--network`](#network).

### eth1-deposit-contract-max-request-size

=== "Syntax"

```bash
--eth1-deposit-contract-max-request-size=<INTEGER>
```

=== "Command Line"

```bash
--eth1-deposit-contract-max-request-size=8000
```

=== "Environment Variable"

```bash
TEKU_ETH1_DEPOSIT_CONTRACT_MAX_REQUEST_SIZE=8000
```

=== "Configuration File"

```bash
eth1-deposit-contract-max-request-size: 8000
```

The maximum number of blocks to request deposit contract event logs for in a single request.
Defaults to 10000.

Setting a smaller max size may help if your ETH1 node is slow at loading deposit event logs, or when
receiving warnings that the ETH1 node is unavailable.

### eth1-endpoint

=== "Syntax"
Expand Down