Skip to content

Commit d808c07

Browse files
committed
Fi
1 parent 5bb7d46 commit d808c07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

consensus/types/src/beacon_state.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ mod tests;
4848
pub const CACHED_EPOCHS: usize = 3;
4949

5050
// Pre-electra WS calculations are not supported. On mainnet, pre-electra epochs are outside the weak subjectivity
51-
// period. The default pre-electra WS value is set to 5 to allow for the test case `revert_minority_fork_on_resume`
52-
// to pass. 5 is a small enough number to trigger the WS safety check pre-electra on mainnet.
53-
pub const DEFAULT_PRE_ELECTRA_WS_PERIOD: u64 = 5;
51+
// period. The default pre-electra WS value is set to 256 to allow for `basic-sim``, `fallback-sim`` test case `revert_minority_fork_on_resume`
52+
// to pass. 256 is a small enough number to trigger the WS safety check pre-electra on mainnet.
53+
pub const DEFAULT_PRE_ELECTRA_WS_PERIOD: u64 = 256;
5454

5555
const MAX_RANDOM_BYTE: u64 = (1 << 8) - 1;
5656
const MAX_RANDOM_VALUE: u64 = (1 << 16) - 1;

0 commit comments

Comments
 (0)