Skip to content

Commit

Permalink
SudtTransferToChequeForWithdraw should set specific epoch length afte…
Browse files Browse the repository at this point in the history
…r genesis epoch
  • Loading branch information
eval-exec committed Feb 18, 2024
1 parent 8371c48 commit 0b22ff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/src/spec/udt/sudt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ impl Spec for SudtTransferToChequeForWithdraw {
}
fn modify_spec_toml(&self, spec_toml: &mut ChainSpec) {
spec_toml.params.genesis_epoch_length = Some(EPOCH_LENGTH);
spec_toml.params.epoch_duration_target = Some(EPOCH_LENGTH * 8);
spec_toml.params.permanent_difficulty_in_dummy = Some(true);
}

Expand Down

0 comments on commit 0b22ff8

Please sign in to comment.