[test] reduce blocks per epoch for testnet

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1231/head
Leo Chen 5 years ago
parent 660faeaf18
commit f674dcafb0
  1. 2
      internal/configs/sharding/testnet.go

@ -30,7 +30,7 @@ func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance {
func (testnetSchedule) BlocksPerEpoch() uint64 { func (testnetSchedule) BlocksPerEpoch() uint64 {
// 8 seconds per block, roughly 86400 blocks, around one day // 8 seconds per block, roughly 86400 blocks, around one day
return 10800 return 60
} }
var testnetReshardingEpoch = []*big.Int{big.NewInt(0), big.NewInt(testnetV1Epoch), big.NewInt(testnetV2Epoch)} var testnetReshardingEpoch = []*big.Int{big.NewInt(0), big.NewInt(testnetV1Epoch), big.NewInt(testnetV2Epoch)}

Loading…
Cancel
Save