File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ write_ssz_files = [] # Writes debugging .ssz files to /tmp during block process
11
11
participation_metrics = [] # Exposes validator participation metrics to Prometheus.
12
12
fork_from_env = [] # Initialise the harness chain spec from the FORK_NAME env variable
13
13
portable = [" bls/supranational-portable" ]
14
+ test_backfill = []
14
15
15
16
[dev-dependencies ]
16
17
maplit = { workspace = true }
Original file line number Diff line number Diff line change @@ -846,10 +846,14 @@ where
846
846
let genesis_backfill_slot = if self . chain_config . genesis_backfill {
847
847
Slot :: new ( 0 )
848
848
} else {
849
- let backfill_epoch_range = ( self . spec . min_validator_withdrawability_delay
850
- + self . spec . churn_limit_quotient )
851
- . as_u64 ( )
852
- / 2 ;
849
+ let backfill_epoch_range = if cfg ! ( feature = "test_backfill" ) {
850
+ 3
851
+ } else {
852
+ ( self . spec . min_validator_withdrawability_delay + self . spec . churn_limit_quotient )
853
+ . as_u64 ( )
854
+ / 2
855
+ } ;
856
+
853
857
match slot_clock. now ( ) {
854
858
Some ( current_slot) => {
855
859
let genesis_backfill_epoch = current_slot
You can’t perform that action at this time.
0 commit comments