cosmos-sdk: github.com/cosmos/cosmos-sdk/x/evidence/simulation Index | Files

package simulation

import "github.com/cosmos/cosmos-sdk/x/evidence/simulation"

Index

Package Files

decoder.go genesis.go

func GenEvidences Uses

func GenEvidences(_ *rand.Rand, _ []simtypes.Account) []exported.Evidence

GenEvidences returns an empty slice of evidences.

func NewDecodeStore Uses

func NewDecodeStore(cdc EvidenceUnmarshaler) func(kvA, kvB kv.Pair) string

NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding evidence type.

func RandomizedGenState Uses

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for evidence

type EvidenceUnmarshaler Uses

type EvidenceUnmarshaler interface {
    UnmarshalEvidence([]byte) (exported.Evidence, error)
}

Package simulation imports 9 packages (graph) and is imported by 1 packages. Updated 2020-08-13. Refresh now. Tools for package owners.