testutil

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountFromAddr added in v0.17.0

func AccountFromAddr(addr string) authtypes.AccountI

func AssertNoProfileError added in v0.17.0

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 added in v0.17.0

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

func NewAppConstructor

func NewAppConstructor(encodingCfg params.EncodingConfig) network.AppConstructor

NewAppConstructor returns a new Desmos AppConstructor

func ProfileFromAddr added in v0.17.0

func ProfileFromAddr(address string) *types.Profile

func PubKeyFromBech32 added in v0.17.0

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