keeper

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package keeper provides methods to initialize SDK keepers with local storage for test purposes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FeeMarket

func FeeMarket(
	initializer *testkeeper.Initializer,
	authKeeper authkeeper.AccountKeeper,
) *feemarketkeeper.Keeper

FeeMarket initializes the fee market module using the testkeepers intializer.

func NewTestSetup

func NewTestSetup(t testing.TB, options ...testkeeper.SetupOption) (sdk.Context, TestKeepers, TestMsgServers)

NewTestSetup returns initialized instances of all the keepers and message servers of the modules

Types

type TestKeepers

type TestKeepers struct {
	testkeeper.TestKeepers
	FeeMarketKeeper *feemarketkeeper.Keeper
}

TestKeepers holds all keepers used during keeper tests for all modules

type TestMsgServers

type TestMsgServers struct {
	testkeeper.TestMsgServers
	FeeMarketMsgServer feemarkettypes.MsgServer
}

TestMsgServers holds all message servers used during keeper tests for all modules

Jump to

Keyboard shortcuts

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