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:
Preston Van Loon
2021-09-15 17:04:13 -05:00
committed by GitHub
parent c47923d20e
commit fff0208207
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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.