File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ pub mod consts {
84
84
85
85
/// this should be updated to the latest network epoch version supported by
86
86
/// 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 ;
88
88
89
89
/// set the fourth byte of the peer version
90
90
pub const PEER_VERSION_MAINNET : u32 = PEER_VERSION_MAINNET_MAJOR | PEER_NETWORK_EPOCH ;
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ impl CoinbaseInterval {
256
256
257
257
impl StacksEpochId {
258
258
pub fn latest ( ) -> StacksEpochId {
259
- StacksEpochId :: Epoch31
259
+ StacksEpochId :: Epoch32
260
260
}
261
261
262
262
/// In this epoch, how should the mempool perform garbage collection?
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ use stacks::chainstate::stacks::miner::{
44
44
use stacks:: chainstate:: stacks:: Error as ChainstateError ;
45
45
use stacks:: config:: BurnchainConfig ;
46
46
use stacks:: core:: mempool:: MemPoolDB ;
47
- use stacks:: core:: STACKS_EPOCH_3_1_MARKER ;
47
+ use stacks:: core:: STACKS_EPOCH_3_2_MARKER ;
48
48
use stacks:: monitoring:: increment_stx_blocks_mined_counter;
49
49
use stacks:: net:: db:: LocalPeer ;
50
50
use stacks:: net:: p2p:: NetworkHandle ;
@@ -1139,7 +1139,7 @@ impl RelayerThread {
1139
1139
key_block_ptr : u32:: try_from ( key. block_height )
1140
1140
. expect ( "FATAL: burn block height exceeded u32" ) ,
1141
1141
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 ] ,
1143
1143
new_seed : VRFSeed :: from_proof ( & tip_vrf_proof) ,
1144
1144
parent_block_ptr : u32:: try_from ( commit_parent_block_burn_height)
1145
1145
. expect ( "FATAL: burn block height exceeded u32" ) ,
Original file line number Diff line number Diff line change @@ -12643,11 +12643,6 @@ fn test_sip_031_activation() {
12643
12643
return ;
12644
12644
}
12645
12645
12646
- // skip the test til we move to epoch 3.2
12647
- if StacksEpochId :: latest ( ) != StacksEpochId :: Epoch32 {
12648
- return ;
12649
- }
12650
-
12651
12646
let ( mut naka_conf, _miner_account) = naka_neon_integration_conf ( None ) ;
12652
12647
naka_conf. node . pox_sync_sample_secs = 180 ;
12653
12648
naka_conf. burnchain . max_rbf = 10_000_000 ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ pub const BITCOIN_MAINNET_STACKS_30_BURN_HEIGHT: u64 = 867_867;
105
105
/// This is Epoch-3.1, activation height proposed in SIP-029
106
106
pub const BITCOIN_MAINNET_STACKS_31_BURN_HEIGHT : u64 = 875_000 ;
107
107
/// This is Epoch-3.2, activation height proposed in SIP-031 (placeholder for now)
108
- pub const BITCOIN_MAINNET_STACKS_32_BURN_HEIGHT : u64 = u64:: MAX ;
108
+ pub const BITCOIN_MAINNET_STACKS_32_BURN_HEIGHT : u64 = /* (TBD) */ u64:: MAX ;
109
109
110
110
/// Bitcoin mainline testnet3 activation heights.
111
111
/// TODO: No longer used since testnet3 is dead, so remove.
You can’t perform that action at this time.
0 commit comments