File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Options:
4040 The gas limit to be used in all builder proposals for all validators
4141 managed by this validator client. Note this will not necessarily be
4242 used if the gas limit set here moves too far from the previous block's
43- gas limit. [default: 30000000 ]
43+ gas limit. [default: 36000000 ]
4444 --genesis-state-url <URL>
4545 A URL of a beacon-API compatible server from which to download the
4646 genesis state. Checkpoint sync server URLs can generally be used with
Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ fn no_doppelganger_protection_flag() {
497497fn no_gas_limit_flag ( ) {
498498 CommandLineTest :: new ( )
499499 . run ( )
500- . with_config ( |config| assert ! ( config. validator_store. gas_limit == Some ( 30_000_000 ) ) ) ;
500+ . with_config ( |config| assert ! ( config. validator_store. gas_limit == Some ( 36_000_000 ) ) ) ;
501501}
502502#[ test]
503503fn gas_limit_flag ( ) {
Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ pub struct ValidatorClient {
387387 #[ clap(
388388 long,
389389 value_name = "INTEGER" ,
390- default_value_t = 30_000_000 ,
390+ default_value_t = 36_000_000 ,
391391 requires = "builder_proposals" ,
392392 help = "The gas limit to be used in all builder proposals for all validators managed \
393393 by this validator client. Note this will not necessarily be used if the gas limit \
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ const SLASHING_PROTECTION_HISTORY_EPOCHS: u64 = 512;
7474
7575/// Currently used as the default gas limit in execution clients.
7676///
77- /// https://github.com/ethereum/builder-specs/issues/17
78- pub const DEFAULT_GAS_LIMIT : u64 = 30_000_000 ;
77+ /// https://ethresear.ch/t/on-increasing-the-block-gas-limit-technical-considerations-path-forward/21225.
78+ pub const DEFAULT_GAS_LIMIT : u64 = 36_000_000 ;
7979
8080pub struct ValidatorStore < T , E : EthSpec > {
8181 validators : Arc < RwLock < InitializedValidators > > ,
You can’t perform that action at this time.
0 commit comments