Skip to content

Commit d99d566

Browse files
jcnelsonobycode
authored andcommitted
chore: set new 3.1 epoch marker
1 parent 04fbd00 commit d99d566

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stackslib/src/core/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,10 @@ pub static STACKS_EPOCH_3_0_MARKER: u8 = 0x0b;
496496

497497
/// Stacks 3.1 epoch marker. All block-commits in 3.1 must have a memo bitfield with this value
498498
/// *or greater*.
499-
pub static STACKS_EPOCH_3_1_MARKER: u8 = 0x0c;
499+
/// NOTE: it has to be 0x0d because a prior release of 3.1 with 0x0c before activation had a
500+
/// consensus bug. This forces miners with this buggy release off the network if they are still
501+
/// running it prior to 3.1 activation.
502+
pub static STACKS_EPOCH_3_1_MARKER: u8 = 0x0d;
500503

501504
#[test]
502505
fn test_ord_for_stacks_epoch() {

0 commit comments

Comments
 (0)