File tree Expand file tree Collapse file tree 4 files changed +331
-38
lines changed Expand file tree Collapse file tree 4 files changed +331
-38
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ jobs:
119
119
- tests::signer::v0::signer_set_rollover
120
120
- tests::signer::v0::signing_in_0th_tenure_of_reward_cycle
121
121
- tests::signer::v0::continue_after_tenure_extend
122
+ - tests::signer::v0::multiple_miners_with_custom_chain_id
122
123
- tests::nakamoto_integrations::burn_ops_integration_test
123
124
- tests::nakamoto_integrations::check_block_heights
124
125
- tests::nakamoto_integrations::clarity_burn_state
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ pub struct GlobalConfig {
156
156
/// How much time to wait for a miner to propose a block following a sortition
157
157
pub block_proposal_timeout : Duration ,
158
158
/// An optional custom Chain ID
159
- chain_id : Option < u32 > ,
159
+ pub chain_id : Option < u32 > ,
160
160
}
161
161
162
162
/// Internal struct for loading up the config file
Original file line number Diff line number Diff line change @@ -550,6 +550,16 @@ impl Config {
550
550
& burnchain. pox_constants
551
551
) ;
552
552
}
553
+ let activation_reward_cycle = burnchain
554
+ . block_height_to_reward_cycle ( epoch_30. start_height )
555
+ . expect ( "FATAL: Epoch 3.0 starts before the first burnchain block" ) ;
556
+ if activation_reward_cycle < 2 {
557
+ panic ! (
558
+ "FATAL: Epoch 3.0 must start at or after the second reward cycle. Epoch 3.0 start set to: {}. PoX Parameters: {:?}" ,
559
+ epoch_30. start_height,
560
+ & burnchain. pox_constants
561
+ ) ;
562
+ }
553
563
}
554
564
555
565
/// Connect to the MempoolDB using the configured cost estimation
You can’t perform that action at this time.
0 commit comments