Documentation ¶
Index ¶
- Constants
- func GenRandCheckpoint(start uint64, headerSize uint64, maxCheckpointLength uint64) (headerBlock types.Checkpoint, err error)
- func GenRandMilestone(start uint64, sprintLength uint64) (milestone types.Milestone, err error)
- func LoadValidatorSet(t *testing.T, count int, keeper staking.Keeper, ctx sdk.Context, ...) types.ValidatorSet
- func RandomizedGenState(simState *module.SimulationState)
Constants ¶
View Source
const TestMilestoneID = "17ce48fe-0a18-41a8-ab7e-59d8002f027b - 0x901a64406d97a3fa9b87b320cbeb86b3c62328f5"
Variables ¶
This section is empty.
Functions ¶
func GenRandCheckpoint ¶
func GenRandCheckpoint(start uint64, headerSize uint64, maxCheckpointLength uint64) (headerBlock types.Checkpoint, err error)
GenRandCheckpoint return headers
func GenRandMilestone ¶ added in v1.0.1
GenRandMilestone return headers
func LoadValidatorSet ¶
func LoadValidatorSet(t *testing.T, count int, keeper staking.Keeper, ctx sdk.Context, randomise bool, timeAlive int) types.ValidatorSet
LoadValidatorSet loads validator set
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState return dummy genesis
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.