mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-26 17:23:41 +00:00
Add flag to disable attestation APIs
This commit is contained in:
@@ -2579,6 +2579,16 @@ fn light_client_http_server_disabled() {
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn disable_attesting() {
|
||||
CommandLineTest::new()
|
||||
.flag("disable-attesting", None)
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| {
|
||||
assert!(config.chain.disable_attesting);
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn gui_flag() {
|
||||
CommandLineTest::new()
|
||||
|
||||
Reference in New Issue
Block a user