Files
tendermint/internal/test/params.go

15 lines
331 B
Go

package test
import (
"github.com/tendermint/tendermint/types"
)
// ConsensusParams returns a default set of ConsensusParams that are suitable
// for use in testing
func ConsensusParams() *types.ConsensusParams {
c := types.DefaultConsensusParams()
// enable vote extensions
c.ABCI.VoteExtensionsEnableHeight = 1
return c
}