mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-26 01:03:40 +00:00
Enable progressive balances fast mode by default (#4971)
* Enable progressive balances fast mode by default * Fix default in chain_config
This commit is contained in:
@@ -2443,20 +2443,20 @@ fn progressive_balances_default() {
|
||||
.with_config(|config| {
|
||||
assert_eq!(
|
||||
config.chain.progressive_balances_mode,
|
||||
ProgressiveBalancesMode::Checked
|
||||
ProgressiveBalancesMode::Fast
|
||||
)
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn progressive_balances_fast() {
|
||||
fn progressive_balances_checked() {
|
||||
CommandLineTest::new()
|
||||
.flag("progressive-balances", Some("fast"))
|
||||
.flag("progressive-balances", Some("checked"))
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| {
|
||||
assert_eq!(
|
||||
config.chain.progressive_balances_mode,
|
||||
ProgressiveBalancesMode::Fast
|
||||
ProgressiveBalancesMode::Checked
|
||||
)
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user