testutils

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext added in v0.27.0

func NewContext() sdk.Context

NewContext returns a basic context with a fake store and a test logger

func NewSubspace added in v0.27.0

func NewSubspace(cfg params.EncodingConfig) paramstypes.Subspace

NewSubspace returns a new subspace with a random name

func RandThreshold

func RandThreshold() utils.Threshold

RandThreshold returns a random Threshold

Types

This section is empty.

Jump to

Keyboard shortcuts

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