Skip to content

Commit 0789409

Browse files
committed
bring back activation patch
1 parent 357abc4 commit 0789409

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

stacks-common/src/libcommon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub mod consts {
8484

8585
/// this should be updated to the latest network epoch version supported by
8686
/// this node. this will be checked by the `validate_epochs()` method.
87-
pub const PEER_NETWORK_EPOCH: u32 = PEER_VERSION_EPOCH_3_1 as u32;
87+
pub const PEER_NETWORK_EPOCH: u32 = PEER_VERSION_EPOCH_3_2 as u32;
8888

8989
/// set the fourth byte of the peer version
9090
pub const PEER_VERSION_MAINNET: u32 = PEER_VERSION_MAINNET_MAJOR | PEER_NETWORK_EPOCH;

stacks-common/src/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ impl CoinbaseInterval {
256256

257257
impl StacksEpochId {
258258
pub fn latest() -> StacksEpochId {
259-
StacksEpochId::Epoch31
259+
StacksEpochId::Epoch32
260260
}
261261

262262
/// In this epoch, how should the mempool perform garbage collection?

stacks-node/src/nakamoto_node/relayer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use stacks::chainstate::stacks::miner::{
4444
use stacks::chainstate::stacks::Error as ChainstateError;
4545
use stacks::config::BurnchainConfig;
4646
use stacks::core::mempool::MemPoolDB;
47-
use stacks::core::STACKS_EPOCH_3_1_MARKER;
47+
use stacks::core::STACKS_EPOCH_3_2_MARKER;
4848
use stacks::monitoring::increment_stx_blocks_mined_counter;
4949
use stacks::net::db::LocalPeer;
5050
use stacks::net::p2p::NetworkHandle;
@@ -1139,7 +1139,7 @@ impl RelayerThread {
11391139
key_block_ptr: u32::try_from(key.block_height)
11401140
.expect("FATAL: burn block height exceeded u32"),
11411141
key_vtxindex: u16::try_from(key.op_vtxindex).expect("FATAL: vtxindex exceeded u16"),
1142-
memo: vec![STACKS_EPOCH_3_1_MARKER],
1142+
memo: vec![STACKS_EPOCH_3_2_MARKER],
11431143
new_seed: VRFSeed::from_proof(&tip_vrf_proof),
11441144
parent_block_ptr: u32::try_from(commit_parent_block_burn_height)
11451145
.expect("FATAL: burn block height exceeded u32"),

0 commit comments

Comments
 (0)