github.com/Finschia/finschia-sdk@v0.48.1/x/slashing/testslashing/params.go (about)

     1  package testslashing
     2  
     3  import (
     4  	"github.com/Finschia/finschia-sdk/x/slashing/types"
     5  )
     6  
     7  // TestParams construct default slashing params for tests.
     8  // Have to change these parameters for tests
     9  // lest the tests take forever
    10  func TestParams() types.Params {
    11  	params := types.DefaultParams()
    12  	params.SignedBlocksWindow = 1000
    13  	params.DowntimeJailDuration = 60 * 60
    14  
    15  	return params
    16  }