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 --validators-builder-registration-default-gas-limit #630

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion docs/how-to/configure/use-proposer-config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Use a proposer configuration file

You can define complex fee recipient and [builder network](builder-network.md) configurations for multiple validators using a proposer configuration file. Specify the proposer configuration file using the [`--validators-proposer-config`](../../reference/cli/index.md#validators-proposer-config) command line option.

Check failure on line 9 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:9:201 MD013/line-length Line length [Expected: 200; Actual: 315] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 9 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:9:201 MD013/line-length Line length [Expected: 200; Actual: 315] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

:::note

Expand All @@ -25,9 +25,9 @@

- `fee_recipient` - (optional in `proposer_config` but required in `default_config`) The fee recipient to use when proposing blocks.
- `builder` - (optional) The [builder network configuration](builder-network.md), which includes the following attributes:
- `enabled` - (optional in `proposer_config` but required in `default_config`) Indicates whether to use the [builder endpoint](../../reference/cli/index.md#builder-endpoint) when proposing blocks. The default is `false`.

Check failure on line 28 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:28:201 MD013/line-length Line length [Expected: 200; Actual: 222] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 28 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:28:201 MD013/line-length Line length [Expected: 200; Actual: 222] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
- `gas_limit` - (optional) Gas limit for the builder. The default is `30000000`.
- `gas_limit` - (optional) Gas limit for the builder. The default is `36000000`.
- `registration_overrides` - (optional) Dedicated overrides to use during the registration process. Useful for distributed validator technology (DVT) and secret shared validator (SSV) technology. The override is specified using the following attributes:

Check failure on line 30 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:30:201 MD013/line-length Line length [Expected: 200; Actual: 255] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 30 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:30:201 MD013/line-length Line length [Expected: 200; Actual: 255] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
- `timestamp` - (optional) Timestamp to be used (instead of the current time) in the validator registration message.
- `public_key` - (optional in `proposer_config` but forbidden in `default_config`) Public key to be used (instead of the validator's public key) in the validator registration message.

Expand Down Expand Up @@ -217,4 +217,4 @@
}
```

In this example, the builder is enabled by default, with `timestamp` registration override. Each validator has its own `public_key` override. All validators use the same `0x6e35733c5af9B61374A128e6F85f553aF09ff89A` as `fee_recipient`.

Check failure on line 220 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:220:201 MD013/line-length Line length [Expected: 200; Actual: 234] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md

Check failure on line 220 in docs/how-to/configure/use-proposer-config-file.md

View workflow job for this annotation

GitHub Actions / Lint

Line length

docs/how-to/configure/use-proposer-config-file.md:220:201 MD013/line-length Line length [Expected: 200; Actual: 234] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md
37 changes: 37 additions & 0 deletions docs/reference/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3308,6 +3308,43 @@
Enables or disables registering all validators managed by the validator client to the
[builder endpoint](../../how-to/configure/builder-network.md) when proposing a block.

### `validators-builder-registration-default-gas-limit`

<Tabs>
<TabItem value="Syntax" label="Syntax" default>

```bash
--validators-builder-registration-default-gas-limit=<NUMBER>
```

</TabItem>
<TabItem value="Example" label="Example" >

```bash
--validators-builder-registration-default-gas-limit=40000000
```

</TabItem>
<TabItem value="Environment variable" label="Environment variable" >

```bash
TEKU_VALIDATORS_BUILDER_REGISTRATION_DEFAULT_GAS_LIMIT=40000000
```

</TabItem>
<TabItem value="Configuration file" label="Configuration file" >

```bash
validators-builder-registration-default-gas-limit: 40000000
```

</TabItem>
</Tabs>

Change the default gas limit used for the [`validator registrations`]
(../../how-to/configure/builder-network.md#3-register-the-validator).

Check failure on line 3345 in docs/reference/cli/index.md

View workflow job for this annotation

GitHub Actions / Lint

Trailing spaces

docs/reference/cli/index.md:3345:70 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md009.md

Check failure on line 3345 in docs/reference/cli/index.md

View workflow job for this annotation

GitHub Actions / Lint

Trailing spaces

docs/reference/cli/index.md:3345:70 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md009.md
The default is `36000000`.

### `validators-early-attestations-enabled`

<Tabs>
Expand Down
Loading