From 0b22ff8680dea5ca6bafff99af4a49283c9e0d64 Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Sun, 18 Feb 2024 18:06:32 +0800 Subject: [PATCH] SudtTransferToChequeForWithdraw should set specific epoch length after genesis epoch --- test/src/spec/udt/sudt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/src/spec/udt/sudt.rs b/test/src/spec/udt/sudt.rs index f1965fe6..ecd20321 100644 --- a/test/src/spec/udt/sudt.rs +++ b/test/src/spec/udt/sudt.rs @@ -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); }