Skip to content

Commit 98d3638

Browse files
committed
chore: resolve merge conflict
1 parent 063284e commit 98d3638

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

stackslib/src/cli.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,24 @@ impl StacksChainConfig {
7979
pox_constants.pox_3_activation_height = 5;
8080
pox_constants.pox_4_activation_height = 6;
8181
pox_constants.v3_unlock_height = 7;
82-
let mut epochs = STACKS_EPOCHS_REGTEST.to_vec();
83-
epochs[0].start_height = 0;
84-
epochs[0].end_height = 0;
85-
epochs[1].start_height = 0;
86-
epochs[1].end_height = 1;
87-
epochs[2].start_height = 1;
88-
epochs[2].end_height = 2;
89-
epochs[3].start_height = 2;
90-
epochs[3].end_height = 3;
91-
epochs[4].start_height = 3;
92-
epochs[4].end_height = 4;
93-
epochs[5].start_height = 4;
94-
epochs[5].end_height = 5;
95-
epochs[6].start_height = 5;
96-
epochs[6].end_height = 6;
97-
epochs[7].start_height = 6;
98-
epochs[7].end_height = 56_457;
99-
epochs[8].start_height = 56_457;
82+
let mut epochs = EpochList::new(&*STACKS_EPOCHS_REGTEST);
83+
epochs[StacksEpochId::Epoch10].start_height = 0;
84+
epochs[StacksEpochId::Epoch10].end_height = 0;
85+
epochs[StacksEpochId::Epoch20].start_height = 0;
86+
epochs[StacksEpochId::Epoch20].end_height = 1;
87+
epochs[StacksEpochId::Epoch2_05].start_height = 1;
88+
epochs[StacksEpochId::Epoch2_05].end_height = 2;
89+
epochs[StacksEpochId::Epoch21].start_height = 2;
90+
epochs[StacksEpochId::Epoch21].end_height = 3;
91+
epochs[StacksEpochId::Epoch22].start_height = 3;
92+
epochs[StacksEpochId::Epoch22].end_height = 4;
93+
epochs[StacksEpochId::Epoch23].start_height = 4;
94+
epochs[StacksEpochId::Epoch23].end_height = 5;
95+
epochs[StacksEpochId::Epoch24].start_height = 5;
96+
epochs[StacksEpochId::Epoch24].end_height = 6;
97+
epochs[StacksEpochId::Epoch25].start_height = 6;
98+
epochs[StacksEpochId::Epoch25].end_height = 56_457;
99+
epochs[StacksEpochId::Epoch30].start_height = 56_457;
100100
Self {
101101
chain_id: CHAIN_ID_TESTNET,
102102
first_block_height: 0,

0 commit comments

Comments
 (0)