reduce test time (#1716)

This commit is contained in:
Nishant Das 2019-02-26 19:45:59 +08:00 committed by Preston Van Loon
parent a27c52e3a3
commit ef137beea4

View File

@ -164,7 +164,7 @@ var defaultBeaconConfig = &BeaconChainConfig{
// Prysm constants.
DepositsForChainStart: 16384,
RandBytes: 3,
SyncPollingInterval: 6 * 4, // Query nodes over the network every 4 slots for sync status.
SyncPollingInterval: 6 * 1, // Query nodes over the network every slot for sync status.
BatchBlockLimit: 100,
MaxNumLog2Validators: 24,
LogBlockDelay: 2, //
@ -203,8 +203,7 @@ func DemoBeaconConfig() *BeaconChainConfig {
demoConfig.MinDepositAmount = 100
demoConfig.MaxDepositAmount = 3200000
demoConfig.EjectionBalance = 1600000
demoConfig.SyncPollingInterval = 2 * 4 // Query nodes over the network every 4 slots
demoConfig.SyncPollingInterval = 2 * 4 // Query nodes over the network every 4 slots for sync status.
demoConfig.SyncPollingInterval = 1 * 10 // Query nodes over the network every slot.
return &demoConfig
}