Skip to content

Commit

Permalink
Add --validators-builder-registration-default-gas-limit
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jan 9, 2025
1 parent 5271895 commit afea9ad
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
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 @@ -26,7 +26,7 @@ Attributes for each proposer configuration are:
- `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
- `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
- `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
35 changes: 35 additions & 0 deletions docs/reference/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3308,6 +3308,41 @@ validators-builder-registration-default-enabled: true
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) The default is `36000000`.

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

<Tabs>
Expand Down

0 comments on commit afea9ad

Please sign in to comment.