cosmos-sdk: Index | Files

package simulation

import ""


Package Files

decoder.go genesis.go

func GenClientGenesis Uses

func GenClientGenesis(_ *rand.Rand, _ []simtypes.Account) types.GenesisState

GenClientGenesis returns the default client genesis state.

func NewDecodeStore Uses

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

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

type ClientUnmarshaler Uses

type ClientUnmarshaler interface {
    MustUnmarshalClientState([]byte) exported.ClientState
    MustUnmarshalConsensusState([]byte) exported.ConsensusState

ClientUnmarshaler defines an interface for unmarshaling ICS02 interfaces.

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