Remove block-delay-ms (#4956)

This commit is contained in:
Michael Sproul
2023-11-28 16:00:28 +11:00
committed by GitHub
parent c88cb371a0
commit 44c1817c2b
5 changed files with 2 additions and 67 deletions

View File

@@ -422,24 +422,6 @@ fn no_doppelganger_protection_flag() {
.with_config(|config| assert!(!config.enable_doppelganger_protection));
}
#[test]
fn block_delay_ms() {
CommandLineTest::new()
.flag("block-delay-ms", Some("2000"))
.run()
.with_config(|config| {
assert_eq!(
config.block_delay,
Some(std::time::Duration::from_millis(2000))
)
});
}
#[test]
fn no_block_delay_ms() {
CommandLineTest::new()
.run()
.with_config(|config| assert_eq!(config.block_delay, None));
}
#[test]
fn no_gas_limit_flag() {
CommandLineTest::new()
.run()