Skip to content

Commit e300223

Browse files
committed
added config options for sip29 on testnet
1 parent 9a88bec commit e300223

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testnet/stacks-node/src/config.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,8 @@ impl Config {
659659
Ok(StacksEpochId::Epoch25)
660660
} else if epoch_name == EPOCH_CONFIG_3_0_0 {
661661
Ok(StacksEpochId::Epoch30)
662+
} else if epoch_name == EPOCH_CONFIG_3_1_0 {
663+
Ok(StacksEpochId::Epoch31)
662664
} else {
663665
Err(format!("Unknown epoch name specified: {epoch_name}"))
664666
}?;
@@ -685,6 +687,7 @@ impl Config {
685687
StacksEpochId::Epoch24,
686688
StacksEpochId::Epoch25,
687689
StacksEpochId::Epoch30,
690+
StacksEpochId::Epoch31,
688691
];
689692
for (expected_epoch, configured_epoch) in expected_list
690693
.iter()
@@ -1291,6 +1294,7 @@ pub const EPOCH_CONFIG_2_3_0: &str = "2.3";
12911294
pub const EPOCH_CONFIG_2_4_0: &str = "2.4";
12921295
pub const EPOCH_CONFIG_2_5_0: &str = "2.5";
12931296
pub const EPOCH_CONFIG_3_0_0: &str = "3.0";
1297+
pub const EPOCH_CONFIG_3_1_0: &str = "3.1";
12941298

12951299
#[derive(Clone, Deserialize, Default, Debug)]
12961300
pub struct AffirmationOverride {

0 commit comments

Comments
 (0)