@@ -146,7 +146,7 @@ use stacks::clarity_vm::clarity::SIP_031_INITIAL_MINT;
146146use crate::clarity::vm::clarity::ClarityConnection;
147147
148148lazy_static! {
149- pub static ref NAKAMOTO_INTEGRATION_EPOCHS: [StacksEpoch; 11 ] = [
149+ pub static ref NAKAMOTO_INTEGRATION_EPOCHS: [StacksEpoch; 12 ] = [
150150 StacksEpoch {
151151 epoch_id: StacksEpochId::Epoch10,
152152 start_height: 0,
@@ -220,92 +220,13 @@ lazy_static! {
220220 StacksEpoch {
221221 epoch_id: StacksEpochId::Epoch32,
222222 start_height: 251,
223- end_height: STACKS_EPOCH_MAX,
224- block_limit: HELIUM_BLOCK_LIMIT_20,
225- network_epoch: PEER_VERSION_EPOCH_3_2
226- },
227- ];
228- pub static ref NAKAMOTO_INTEGRATION_3_3_EPOCHS: [StacksEpoch; 12] = [
229- StacksEpoch {
230- epoch_id: StacksEpochId::Epoch10,
231- start_height: 0,
232- end_height: 0,
233- block_limit: BLOCK_LIMIT_MAINNET_10,
234- network_epoch: PEER_VERSION_EPOCH_1_0
235- },
236- StacksEpoch {
237- epoch_id: StacksEpochId::Epoch20,
238- start_height: 0,
239- end_height: 1,
240- block_limit: HELIUM_BLOCK_LIMIT_20,
241- network_epoch: PEER_VERSION_EPOCH_2_0
242- },
243- StacksEpoch {
244- epoch_id: StacksEpochId::Epoch2_05,
245- start_height: 1,
246- end_height: 2,
247- block_limit: HELIUM_BLOCK_LIMIT_20,
248- network_epoch: PEER_VERSION_EPOCH_2_05
249- },
250- StacksEpoch {
251- epoch_id: StacksEpochId::Epoch21,
252- start_height: 2,
253- end_height: 3,
254- block_limit: HELIUM_BLOCK_LIMIT_20,
255- network_epoch: PEER_VERSION_EPOCH_2_1
256- },
257- StacksEpoch {
258- epoch_id: StacksEpochId::Epoch22,
259- start_height: 3,
260- end_height: 4,
261- block_limit: HELIUM_BLOCK_LIMIT_20,
262- network_epoch: PEER_VERSION_EPOCH_2_2
263- },
264- StacksEpoch {
265- epoch_id: StacksEpochId::Epoch23,
266- start_height: 4,
267- end_height: 5,
268- block_limit: HELIUM_BLOCK_LIMIT_20,
269- network_epoch: PEER_VERSION_EPOCH_2_3
270- },
271- StacksEpoch {
272- epoch_id: StacksEpochId::Epoch24,
273- start_height: 5,
274- end_height: 201,
275- block_limit: HELIUM_BLOCK_LIMIT_20,
276- network_epoch: PEER_VERSION_EPOCH_2_4
277- },
278- StacksEpoch {
279- epoch_id: StacksEpochId::Epoch25,
280- start_height: 201,
281- end_height: 231,
282- block_limit: HELIUM_BLOCK_LIMIT_20,
283- network_epoch: PEER_VERSION_EPOCH_2_5
284- },
285- StacksEpoch {
286- epoch_id: StacksEpochId::Epoch30,
287- start_height: 231,
288- end_height: 232,
289- block_limit: HELIUM_BLOCK_LIMIT_20,
290- network_epoch: PEER_VERSION_EPOCH_3_0
291- },
292- StacksEpoch {
293- epoch_id: StacksEpochId::Epoch31,
294- start_height: 232,
295- end_height: 233,
296- block_limit: HELIUM_BLOCK_LIMIT_20,
297- network_epoch: PEER_VERSION_EPOCH_3_1
298- },
299- StacksEpoch {
300- epoch_id: StacksEpochId::Epoch32,
301- start_height: 233,
302- end_height: 234,
223+ end_height: 252,
303224 block_limit: HELIUM_BLOCK_LIMIT_20,
304225 network_epoch: PEER_VERSION_EPOCH_3_2
305226 },
306227 StacksEpoch {
307228 epoch_id: StacksEpochId::Epoch33,
308- start_height: 234 ,
229+ start_height: 252 ,
309230 end_height: STACKS_EPOCH_MAX,
310231 block_limit: HELIUM_BLOCK_LIMIT_20,
311232 network_epoch: PEER_VERSION_EPOCH_3_2
@@ -14251,10 +14172,6 @@ fn test_epoch_3_3_activation() {
1425114172 naka_conf.node.pox_sync_sample_secs = 180;
1425214173 naka_conf.burnchain.max_rbf = 10_000_000;
1425314174
14254- // Add epoch 3.3 to the configuration because it is not yet added to the
14255- // default epoch list for integration tests.
14256- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
14257-
1425814175 let sender_signer_sk = Secp256k1PrivateKey::random();
1425914176 let sender_signer_addr = tests::to_addr(&sender_signer_sk);
1426014177 let mut signers = TestSigners::new(vec![sender_signer_sk.clone()]);
@@ -15094,10 +15011,6 @@ fn check_block_time_keyword() {
1509415011 100000,
1509515012 );
1509615013
15097- // Add epoch 3.3 to the configuration because it is not yet added to the
15098- // default epoch list for integration tests.
15099- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
15100-
1510115014 let stacker_sk = setup_stacker(&mut naka_conf);
1510215015
1510315016 test_observer::spawn();
@@ -15377,10 +15290,6 @@ fn check_with_stacking_allowances_delegate_stx() {
1537715290 100000,
1537815291 );
1537915292
15380- // Add epoch 3.3 to the configuration because it is not yet added to the
15381- // default epoch list for integration tests.
15382- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
15383-
1538415293 let stacker_sk = setup_stacker(&mut naka_conf);
1538515294
1538615295 test_observer::spawn();
@@ -15777,10 +15686,6 @@ fn check_with_stacking_allowances_stack_stx() {
1577715686 100000,
1577815687 );
1577915688
15780- // Add epoch 3.3 to the configuration because it is not yet added to the
15781- // default epoch list for integration tests.
15782- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
15783-
1578415689 // Default stacker used for bootstrapping
1578515690 let stacker_sk = setup_stacker(&mut naka_conf);
1578615691
@@ -16371,10 +16276,6 @@ fn check_restrict_assets_rollback() {
1637116276 100000,
1637216277 );
1637316278
16374- // Add epoch 3.3 to the configuration because it is not yet added to the
16375- // default epoch list for integration tests.
16376- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
16377-
1637816279 let stacker_sk = setup_stacker(&mut naka_conf);
1637916280
1638016281 test_observer::spawn();
@@ -17092,10 +16993,6 @@ fn check_as_contract_rollback() {
1709216993 100000,
1709316994 );
1709416995
17095- // Add epoch 3.3 to the configuration because it is not yet added to the
17096- // default epoch list for integration tests.
17097- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
17098-
1709916996 let stacker_sk = setup_stacker(&mut naka_conf);
1710016997
1710116998 test_observer::spawn();
0 commit comments