storetesting

package
v6.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContext

func BuildContext(
	keys map[string]*storetypes.KVStoreKey,
	tKeys map[string]*storetypes.TransientStoreKey,
	memKeys map[string]*storetypes.MemoryStoreKey,
) sdk.Context

Types

type BaseKeeperTestData

type BaseKeeperTestData struct {
	Keys    map[string]*storetypes.KVStoreKey
	Context sdk.Context

	Cdc         codec.Codec
	LegacyAmino *codec.LegacyAmino

	AuthorityAddress string

	AccountKeeper      authkeeper.AccountKeeper
	BankKeeper         bankkeeper.BaseKeeper
	DistributionKeeper distrkeeper.Keeper
}

func NewBaseKeeperTestData

func NewBaseKeeperTestData(t *testing.T, keys []string) BaseKeeperTestData

NewBaseKeeperTestData returns a new BaseKeeperTestData

Jump to

Keyboard shortcuts

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