mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Fix cli options (#4772)
## Issue Addressed Fixes breaking change introduced on https://github.com/sigp/lighthouse/pull/4674/ that doesn't allow multiple `http_enabled` `ArgGroup` flags
This commit is contained in:
@@ -2337,6 +2337,18 @@ fn gui_flag() {
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn multiple_http_enabled_flags() {
|
||||
CommandLineTest::new()
|
||||
.flag("gui", None)
|
||||
.flag("http", None)
|
||||
.flag("staking", None)
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| {
|
||||
assert!(config.http_api.enabled);
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn optimistic_finalized_sync_default() {
|
||||
CommandLineTest::new()
|
||||
|
||||
Reference in New Issue
Block a user