@@ -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
@@ -14246,10 +14167,6 @@ fn test_epoch_3_3_activation() {
1424614167 naka_conf.node.pox_sync_sample_secs = 180;
1424714168 naka_conf.burnchain.max_rbf = 10_000_000;
1424814169
14249- // Add epoch 3.3 to the configuration because it is not yet added to the
14250- // default epoch list for integration tests.
14251- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
14252-
1425314170 let sender_signer_sk = Secp256k1PrivateKey::random();
1425414171 let sender_signer_addr = tests::to_addr(&sender_signer_sk);
1425514172 let mut signers = TestSigners::new(vec![sender_signer_sk.clone()]);
@@ -15089,10 +15006,6 @@ fn check_block_time_keyword() {
1508915006 100000,
1509015007 );
1509115008
15092- // Add epoch 3.3 to the configuration because it is not yet added to the
15093- // default epoch list for integration tests.
15094- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
15095-
1509615009 let stacker_sk = setup_stacker(&mut naka_conf);
1509715010
1509815011 test_observer::spawn();
@@ -15372,10 +15285,6 @@ fn check_with_stacking_allowances_delegate_stx() {
1537215285 100000,
1537315286 );
1537415287
15375- // Add epoch 3.3 to the configuration because it is not yet added to the
15376- // default epoch list for integration tests.
15377- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
15378-
1537915288 let stacker_sk = setup_stacker(&mut naka_conf);
1538015289
1538115290 test_observer::spawn();
@@ -15772,10 +15681,6 @@ fn check_with_stacking_allowances_stack_stx() {
1577215681 100000,
1577315682 );
1577415683
15775- // Add epoch 3.3 to the configuration because it is not yet added to the
15776- // default epoch list for integration tests.
15777- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
15778-
1577915684 // Default stacker used for bootstrapping
1578015685 let stacker_sk = setup_stacker(&mut naka_conf);
1578115686
@@ -16366,10 +16271,6 @@ fn check_restrict_assets_rollback() {
1636616271 100000,
1636716272 );
1636816273
16369- // Add epoch 3.3 to the configuration because it is not yet added to the
16370- // default epoch list for integration tests.
16371- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
16372-
1637316274 let stacker_sk = setup_stacker(&mut naka_conf);
1637416275
1637516276 test_observer::spawn();
@@ -17087,10 +16988,6 @@ fn check_as_contract_rollback() {
1708716988 100000,
1708816989 );
1708916990
17090- // Add epoch 3.3 to the configuration because it is not yet added to the
17091- // default epoch list for integration tests.
17092- naka_conf.burnchain.epochs = Some(EpochList::new(&*NAKAMOTO_INTEGRATION_3_3_EPOCHS));
17093-
1709416991 let stacker_sk = setup_stacker(&mut naka_conf);
1709516992
1709616993 test_observer::spawn();
0 commit comments