tsdk

package
v4.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tsdk provides test utilities related to Cosmos SDK

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommitMultiStore

func NewCommitMultiStore(t *testing.T, keys []types.StoreKey, tkeys []types.StoreKey) types.CommitMultiStore

NewCommitMultiStore creats SDK Multistore

func NewCtx

func NewCtx(t *testing.T, keys []types.StoreKey, tkeys []types.StoreKey) (sdk.Context, types.CommitMultiStore)

NewCtx creates new context with store and mounted store keys and transient store keys.

func NewCtxOneStore

func NewCtxOneStore(t *testing.T, keys types.StoreKey) (sdk.Context, types.CommitMultiStore)

NewCtxq creates new context with only one store key

func NewKVStore

func NewKVStore(t *testing.T) types.KVStore

NewKVStore creates a memory based kv store without commit / wrapping functionality

Types

This section is empty.

Jump to

Keyboard shortcuts

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