cosmos-sdk/x/slashing/testutil/params.go

17 lines
355 B
Go

package testutil
import (
"cosmossdk.io/x/slashing/types"
)
// TestParams construct default slashing params for tests.
// Have to change these parameters for tests
// lest the tests take forever
func TestParams() types.Params {
params := types.DefaultParams()
params.SignedBlocksWindow = 1000
params.DowntimeJailDuration = 60 * 60
return params
}