testutil

package
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountFromAddr

func AccountFromAddr(addr string) authtypes.AccountI

func AssertNoProfileError

func AssertNoProfileError(profile *types.Profile, err error) *types.Profile

func DefaultConfig

func DefaultConfig() network.Config

DefaultConfig returns a sane default configuration suitable for nearly all testing requirements.

func NewAny

func NewAny(value proto.Message) *codectypes.Any

func NewAppConstructor

func NewAppConstructor(encodingCfg params.EncodingConfig) network.AppConstructor

NewAppConstructor returns a new Desmos AppConstructor

func ProfileFromAddr

func ProfileFromAddr(address string) *types.Profile

func PubKeyFromBech32

func PubKeyFromBech32(pubKey string) cryptotypes.PubKey

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL