mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Fix long running e2e tests (#9604)
* Revert e2e changes from #9565 * Override ChurnLimitQuotient to reflect minimal config prior to #9565
This commit is contained in:
@@ -22,6 +22,7 @@ func E2ETestConfig() *BeaconChainConfig {
|
||||
// Misc.
|
||||
e2eConfig.MinGenesisActiveValidatorCount = 256
|
||||
e2eConfig.GenesisDelay = 10 // 10 seconds so E2E has enough time to process deposits and get started.
|
||||
e2eConfig.ChurnLimitQuotient = 65536
|
||||
|
||||
// Time parameters.
|
||||
e2eConfig.SecondsPerSlot = 10
|
||||
|
||||
@@ -31,8 +31,8 @@ var exitedIndex types.ValidatorIndex
|
||||
// valExited is used to know if exitedIndex is set, since default value is 0.
|
||||
var valExited bool
|
||||
|
||||
// churnLimit is 8 given ChurnLimitQuotient is 32 for minimal config.
|
||||
var churnLimit = uint64(8)
|
||||
// churnLimit is normally 4 unless the validator set is extremely large.
|
||||
var churnLimit = uint64(4)
|
||||
var depositValCount = e2e.DepositCount
|
||||
|
||||
// Deposits should be processed in twice the length of the epochs per eth1 voting period.
|
||||
|
||||
Reference in New Issue
Block a user