Skip to content

Commit 504635d

Browse files
committed
revert
1 parent d0f0f82 commit 504635d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

book/src/help_vc.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ FLAGS:
6868
If this flag is set, Lighthouse will always prefer blocks constructed by builders, regardless of payload
6969
value.
7070
--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.
7274
--unencrypted-http-transport
7375
This is a safety flag to ensure that the user is aware that the http transport is unencrypted and using a
7476
custom HTTP address is unsafe.

lighthouse/tests/validator_client.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,20 @@ fn no_doppelganger_protection_flag() {
421421
.run()
422422
.with_config(|config| assert!(!config.enable_doppelganger_protection));
423423
}
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+
}
424438

425439
#[test]
426440
fn no_gas_limit_flag() {

0 commit comments

Comments
 (0)