mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-30 19:34:37 +00:00
default vc to block v3 endpoint and deprecate block-v3 flag (#5292)
* default vc to block v3 endpoint and deprecate block-v3 flag * kick off ci * Merge branch 'unstable' of https://github.com/sigp/lighthouse into default-vc-to-block-v3-endpoint * fix formatting in cli docs * Merge branch 'unstable' of https://github.com/sigp/lighthouse into default-vc-to-block-v3-endpoint * Resolve merge conflicts * resolve conflicts * merge * merge * revert * retry * fix * Merge branch 'unstable' into default-vc-to-block-v3-endpoint * Merge branch 'unstable' of https://github.com/sigp/lighthouse into default-vc-to-block-v3-endpoint * fix issues w/ fallback sim
This commit is contained in:
@@ -423,19 +423,12 @@ fn no_doppelganger_protection_flag() {
|
||||
.run()
|
||||
.with_config(|config| assert!(!config.enable_doppelganger_protection));
|
||||
}
|
||||
#[test]
|
||||
fn produce_block_v3_flag() {
|
||||
CommandLineTest::new()
|
||||
.flag("produce-block-v3", None)
|
||||
.run()
|
||||
.with_config(|config| assert!(config.produce_block_v3));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn no_produce_block_v3_flag() {
|
||||
CommandLineTest::new()
|
||||
.run()
|
||||
.with_config(|config| assert!(!config.produce_block_v3));
|
||||
fn produce_block_v3_flag() {
|
||||
// The flag is DEPRECATED but providing it should not trigger an error.
|
||||
// We can delete this test when deleting the flag entirely.
|
||||
CommandLineTest::new().flag("produce-block-v3", None).run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user