Versions in this module Expand all Collapse all v0 v0.34.22 Dec 28, 2022 Changes in this version + const DefaultTestChainID + var DefaultTestTime = time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC) + func GenesisDoc(time time.Time, validators []*types.Validator, ...) *types.GenesisDoc + func MakeBlock(state sm.State) *types.Block + func MakeBlockID() types.BlockID + func MakeBlockIDWithHash(hash []byte) types.BlockID + func MakeBlocks(n int, state sm.State, privVals []types.PrivValidator) ([]*types.Block, error) + func MakeCommit(blockID types.BlockID, height int64, round int32, valSet *types.ValidatorSet, ...) (*types.Commit, error) + func MakeCommitFromVoteSet(blockID types.BlockID, voteSet *types.VoteSet, ...) (*types.Commit, error) + func MakeHeader(t *testing.T, h *types.Header) *types.Header + func MakeNTxs(height, n int64) []types.Tx + func MakeVote(val types.PrivValidator, chainID string, valIndex int32, height int64, ...) (*types.Vote, error) + func MakeVoteSet(lastState sm.State, round int32) *types.VoteSet + func RandomAddress() []byte + func RandomHash() []byte + func ResetTestRoot(testName string) *config.Config + func ResetTestRootWithChainID(testName string, chainID string) *config.Config + func Validator(ctx context.Context, votingPower int64) (*types.Validator, types.PrivValidator, error) + func ValidatorSet(ctx context.Context, t *testing.T, numValidators int, votingPower int64) (*types.ValidatorSet, []types.PrivValidator)