@@ -1222,8 +1222,18 @@ fn bitcoind_forking_test() {
1222
1222
let sender_addr = tests:: to_addr ( & sender_sk) ;
1223
1223
let send_amt = 100 ;
1224
1224
let send_fee = 180 ;
1225
- let mut signer_test: SignerTest < SpawnedSigner > =
1226
- SignerTest :: new ( num_signers, vec ! [ ( sender_addr, send_amt + send_fee) ] ) ;
1225
+ let mut signer_test: SignerTest < SpawnedSigner > = SignerTest :: new_with_config_modifications (
1226
+ num_signers,
1227
+ vec ! [ ( sender_addr, send_amt + send_fee) ] ,
1228
+ |_| { } ,
1229
+ |node_config| {
1230
+ let epochs = node_config. burnchain . epochs . as_mut ( ) . unwrap ( ) ;
1231
+ epochs[ StacksEpochId :: Epoch30 ] . end_height = 3_015 ;
1232
+ epochs[ StacksEpochId :: Epoch31 ] . start_height = 3_015 ;
1233
+ } ,
1234
+ None ,
1235
+ None ,
1236
+ ) ;
1227
1237
let conf = signer_test. running_nodes . conf . clone ( ) ;
1228
1238
let http_origin = format ! ( "http://{}" , & conf. node. rpc_bind) ;
1229
1239
let miner_address = Keychain :: default ( conf. node . seed . clone ( ) )
@@ -3025,6 +3035,8 @@ fn mock_sign_epoch_25() {
3025
3035
let epochs = node_config. burnchain . epochs . as_mut ( ) . unwrap ( ) ;
3026
3036
epochs[ StacksEpochId :: Epoch25 ] . end_height = 251 ;
3027
3037
epochs[ StacksEpochId :: Epoch30 ] . start_height = 251 ;
3038
+ epochs[ StacksEpochId :: Epoch30 ] . end_height = 265 ;
3039
+ epochs[ StacksEpochId :: Epoch31 ] . start_height = 265 ;
3028
3040
} ,
3029
3041
None ,
3030
3042
None ,
@@ -3123,7 +3135,7 @@ fn mock_sign_epoch_25() {
3123
3135
) ;
3124
3136
}
3125
3137
assert ! (
3126
- main_poll_time. elapsed( ) <= Duration :: from_secs( 45 ) ,
3138
+ main_poll_time. elapsed( ) <= Duration :: from_secs( 145 ) ,
3127
3139
"Timed out waiting to advance epoch 3.0 boundary"
3128
3140
) ;
3129
3141
}
@@ -3185,6 +3197,8 @@ fn multiple_miners_mock_sign_epoch_25() {
3185
3197
let epochs = config. burnchain . epochs . as_mut ( ) . unwrap ( ) ;
3186
3198
epochs[ StacksEpochId :: Epoch25 ] . end_height = 251 ;
3187
3199
epochs[ StacksEpochId :: Epoch30 ] . start_height = 251 ;
3200
+ epochs[ StacksEpochId :: Epoch30 ] . end_height = 265 ;
3201
+ epochs[ StacksEpochId :: Epoch31 ] . start_height = 265 ;
3188
3202
config. events_observers . retain ( |listener| {
3189
3203
let Ok ( addr) = std:: net:: SocketAddr :: from_str ( & listener. endpoint ) else {
3190
3204
warn ! (
0 commit comments