mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-03 10:32:05 +00:00
15 lines
331 B
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
|
|
}
|