File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 68
68
If this flag is set, Lighthouse will always prefer blocks constructed by builders, regardless of payload
69
69
value.
70
70
--produce-block-v3
71
- This flag is deprecated and no longer in use.
71
+ Enable block production via the block v3 endpoint for this validator client. This should only be enabled
72
+ when paired with a beacon node that has this endpoint implemented. This flag will be enabled by default in
73
+ future.
72
74
--unencrypted-http-transport
73
75
This is a safety flag to ensure that the user is aware that the http transport is unencrypted and using a
74
76
custom HTTP address is unsafe.
Original file line number Diff line number Diff line change @@ -421,6 +421,20 @@ fn no_doppelganger_protection_flag() {
421
421
. run ( )
422
422
. with_config ( |config| assert ! ( !config. enable_doppelganger_protection) ) ;
423
423
}
424
+ #[ test]
425
+ fn produce_block_v3_flag ( ) {
426
+ CommandLineTest :: new ( )
427
+ . flag ( "produce-block-v3" , None )
428
+ . run ( )
429
+ . with_config ( |config| assert ! ( config. produce_block_v3) ) ;
430
+ }
431
+
432
+ #[ test]
433
+ fn no_produce_block_v3_flag ( ) {
434
+ CommandLineTest :: new ( )
435
+ . run ( )
436
+ . with_config ( |config| assert ! ( !config. produce_block_v3) ) ;
437
+ }
424
438
425
439
#[ test]
426
440
fn no_gas_limit_flag ( ) {
You can’t perform that action at this time.
0 commit comments