From afea9ad0a66fe04384ef7623e1dbc3510b796257 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Thu, 9 Jan 2025 19:43:29 +0200 Subject: [PATCH 1/4] Add `--validators-builder-registration-default-gas-limit` --- .../configure/use-proposer-config-file.md | 2 +- docs/reference/cli/index.md | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/docs/how-to/configure/use-proposer-config-file.md b/docs/how-to/configure/use-proposer-config-file.md index d7370ff98..3ecad718f 100644 --- a/docs/how-to/configure/use-proposer-config-file.md +++ b/docs/how-to/configure/use-proposer-config-file.md @@ -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`. - - `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: - `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. diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index 55587e125..fa3388416 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -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` + + + + +```bash +--validators-builder-registration-default-gas-limit= +``` + + + + +```bash +--validators-builder-registration-default-gas-limit=40000000 +``` + + + + +```bash +TEKU_VALIDATORS_BUILDER_REGISTRATION_DEFAULT_GAS_LIMIT=40000000 +``` + + + + +```bash +validators-builder-registration-default-gas-limit: 40000000 +``` + + + + +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` From fbdf0506108732411977cac450e7b9477bb692e0 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Thu, 9 Jan 2025 21:55:09 +0200 Subject: [PATCH 2/4] try to fix lint --- docs/reference/cli/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index fa3388416..6303b00ba 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -3341,7 +3341,9 @@ validators-builder-registration-default-gas-limit: 40000000 -Change the default gas limit used for the [`validator registrations`](../../how-to/configure/builder-network.md#3-register-the-validator) The default is `36000000`. +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` From 953c7a4efe2fd46ad163fce3bee01defa5833c0d Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 10 Jan 2025 10:06:44 +0200 Subject: [PATCH 3/4] fix one linting error --- docs/reference/cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index 6303b00ba..f5f393b37 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -3342,7 +3342,7 @@ validators-builder-registration-default-gas-limit: 40000000 Change the default gas limit used for the [`validator registrations`] -(../../how-to/configure/builder-network.md#3-register-the-validator). +(../../how-to/configure/builder-network.md#3-register-the-validator). The default is `36000000`. ### `validators-early-attestations-enabled` From 96551e399b344e371301813e7bb933ec8b320868 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Tue, 14 Jan 2025 17:02:19 -0800 Subject: [PATCH 4/4] edits --- docs/how-to/configure/use-proposer-config-file.md | 14 ++++++++++---- docs/reference/cli/index.md | 3 +-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/how-to/configure/use-proposer-config-file.md b/docs/how-to/configure/use-proposer-config-file.md index 3ecad718f..f6bd394d9 100644 --- a/docs/how-to/configure/use-proposer-config-file.md +++ b/docs/how-to/configure/use-proposer-config-file.md @@ -6,7 +6,8 @@ sidebar_position: 2 # 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. +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. :::note @@ -25,9 +26,12 @@ 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`. + - `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`. - `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: + - `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: - `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. @@ -217,4 +221,6 @@ The following is a proposer configuration example using distributed validator te } ``` -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`. +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`. diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index f5f393b37..a9cb19b18 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -3341,8 +3341,7 @@ validators-builder-registration-default-gas-limit: 40000000 -Change the default gas limit used for the [`validator registrations`] -(../../how-to/configure/builder-network.md#3-register-the-validator). +The gas limit used for [registering validators to the builder endpoint](../../how-to/configure/builder-network.md#3-register-the-validator). The default is `36000000`. ### `validators-early-attestations-enabled`