Skip to content

Commit

Permalink
chore: speed up maturity test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed Oct 9, 2019
1 parent 1633a16 commit 6759803
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/src/specs/tx_pool/reference_header_maturity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ impl Spec for ReferenceHeaderMaturity {
fn modify_chain_spec(&self) -> Box<dyn Fn(&mut ChainSpec) -> ()> {
Box::new(|spec_config| {
spec_config.params.cellbase_maturity = CELLBASE_MATURITY_VALUE;
spec_config.params.epoch_duration_target = 30;
spec_config.params.genesis_epoch_length = 5;
})
}
}

0 comments on commit 6759803

Please sign in to comment.