File tree Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -871,16 +871,6 @@ where
871
871
. map_err ( DBError :: SerializationError )
872
872
}
873
873
874
- #[ cfg( test) ]
875
- pub fn test_signer_db ( db_path : & str ) -> SignerDb {
876
- use std:: fs;
877
-
878
- if fs:: metadata ( db_path) . is_ok ( ) {
879
- fs:: remove_file ( db_path) . unwrap ( ) ;
880
- }
881
- SignerDb :: new ( db_path) . expect ( "Failed to create signer db" )
882
- }
883
-
884
874
#[ cfg( test) ]
885
875
mod tests {
886
876
use std:: fs;
Original file line number Diff line number Diff line change @@ -3987,7 +3987,7 @@ impl<'a> SortitionDBConn<'a> {
3987
3987
tip,
3988
3988
reward_cycle_id,
3989
3989
) ?;
3990
- info ! ( "Fetching preprocessed reward set" ;
3990
+ debug ! ( "Fetching preprocessed reward set" ;
3991
3991
"tip_sortition_id" => %tip,
3992
3992
"reward_cycle_id" => reward_cycle_id,
3993
3993
"prepare_phase_start_sortition_id" => %first_sortition,
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ lazy_static! {
457
457
network_epoch: PEER_VERSION_EPOCH_3_0
458
458
} ,
459
459
StacksEpoch {
460
- epoch_id: StacksEpochId :: Epoch30 ,
460
+ epoch_id: StacksEpochId :: Epoch31 ,
461
461
start_height: 8001 ,
462
462
end_height: STACKS_EPOCH_MAX ,
463
463
block_limit: BLOCK_LIMIT_MAINNET_21 . clone( ) ,
Original file line number Diff line number Diff line change @@ -659,6 +659,8 @@ impl Config {
659
659
Ok ( StacksEpochId :: Epoch25 )
660
660
} else if epoch_name == EPOCH_CONFIG_3_0_0 {
661
661
Ok ( StacksEpochId :: Epoch30 )
662
+ } else if epoch_name == EPOCH_CONFIG_3_1_0 {
663
+ Ok ( StacksEpochId :: Epoch31 )
662
664
} else {
663
665
Err ( format ! ( "Unknown epoch name specified: {epoch_name}" ) )
664
666
} ?;
@@ -685,6 +687,7 @@ impl Config {
685
687
StacksEpochId :: Epoch24 ,
686
688
StacksEpochId :: Epoch25 ,
687
689
StacksEpochId :: Epoch30 ,
690
+ StacksEpochId :: Epoch31 ,
688
691
] ;
689
692
for ( expected_epoch, configured_epoch) in expected_list
690
693
. iter ( )
@@ -1291,6 +1294,7 @@ pub const EPOCH_CONFIG_2_3_0: &str = "2.3";
1291
1294
pub const EPOCH_CONFIG_2_4_0 : & str = "2.4" ;
1292
1295
pub const EPOCH_CONFIG_2_5_0 : & str = "2.5" ;
1293
1296
pub const EPOCH_CONFIG_3_0_0 : & str = "3.0" ;
1297
+ pub const EPOCH_CONFIG_3_1_0 : & str = "3.1" ;
1294
1298
1295
1299
#[ derive( Clone , Deserialize , Default , Debug ) ]
1296
1300
pub struct AffirmationOverride {
You can’t perform that action at this time.
0 commit comments