Skip to content
Merged
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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
## Unreleased Changes

### Breaking Changes
`--Xvalidators-builder-registration-default-gas-limit` is removed in favour of `--validators-builder-registration-default-gas-limit`

### Additions and Improvements
- Default the gas limit to 36 million for externally produced blocks
- Optimized blobs validation pipeline
- Remove delay when fetching blobs from the local EL on block arrival

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void shouldMaintainValidatorsInMutableClient() throws Exception {
api.assertLocalValidatorListing(validatorKeystores.getPublicKeys());

api.assertValidatorGasLimit(
validatorKeystores.getPublicKeys().get(1), UInt64.valueOf(30000000));
validatorKeystores.getPublicKeys().get(1), UInt64.valueOf(36_000_000));

// generate voluntary exit
api.generateVoluntaryExitAndCheckValidatorIndex(validatorKeystores.getPublicKeys().get(1), 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,11 @@ public class ValidatorProposerOptions {
ValidatorConfig.DEFAULT_BUILDER_REGISTRATION_DEFAULT_ENABLED;

@Option(
names = {"--Xvalidators-builder-registration-default-gas-limit"},
names = {"--validators-builder-registration-default-gas-limit"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remember to update our nodes using this experimental flag when we update them :)

paramLabel = "<uint64>",
showDefaultValue = Visibility.ALWAYS,
description = "Change the default gas limit used for the validators registration.",
arity = "1",
hidden = true,
converter = UInt64Converter.class)
private UInt64 builderRegistrationDefaultGasLimit =
ValidatorConfig.DEFAULT_BUILDER_REGISTRATION_GAS_LIMIT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void shouldReportDefaultGasLimitIfRegistrationDefaultGasLimitNotSpecified

@Test
public void shouldSetDefaultGasLimitIfRegistrationDefaultGasLimitIsSpecified() {
final String[] args = {"--Xvalidators-builder-registration-default-gas-limit", "1000"};
final String[] args = {"--validators-builder-registration-default-gas-limit", "1000"};
final TekuConfiguration config = getTekuConfigurationFromArguments(args);
assertThat(
config.validatorClient().getValidatorConfig().getBuilderRegistrationDefaultGasLimit())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class ValidatorConfig {
public static final boolean DEFAULT_BUILDER_REGISTRATION_DEFAULT_ENABLED = false;
public static final boolean DEFAULT_VALIDATOR_BLINDED_BLOCKS_ENABLED = false;
public static final int DEFAULT_VALIDATOR_REGISTRATION_SENDING_BATCH_SIZE = 100;
public static final UInt64 DEFAULT_BUILDER_REGISTRATION_GAS_LIMIT = UInt64.valueOf(30_000_000);
public static final UInt64 DEFAULT_BUILDER_REGISTRATION_GAS_LIMIT = UInt64.valueOf(36_000_000);
public static final boolean DEFAULT_OBOL_DVT_SELECTIONS_ENDPOINT_ENABLED = false;
public static final boolean DEFAULT_ATTESTATIONS_V2_APIS_ENABLED = false;

Expand Down
Loading