state

package
v0.7.21-doubletap.rc22 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

type TestSuite struct {
	// contains filtered or unexported fields
}

TestSuite encapsulates a functional Akash nodes data stores for ephemeral testing.

func SetupTestSuite

func SetupTestSuite(t testing.TB, codec codec.Marshaler) *TestSuite

SetupTestSuite provides toolkit for accessing stores and keepers for complex data interactions.

func (*TestSuite) BankKeeper

func (ts *TestSuite) BankKeeper() bankkeeper.Keeper

BankKeeper key store

func (*TestSuite) Context

func (ts *TestSuite) Context() sdk.Context

Context of the current mempool

func (*TestSuite) DeploymentKeeper

func (ts *TestSuite) DeploymentKeeper() dkeeper.Keeper

DeploymentKeeper key store

func (*TestSuite) MarketKeeper

func (ts *TestSuite) MarketKeeper() keeper.Keeper

MarketKeeper key store

func (*TestSuite) ProviderKeeper

func (ts *TestSuite) ProviderKeeper() pkeeper.Keeper

ProviderKeeper key store

func (*TestSuite) SetBlockHeight

func (ts *TestSuite) SetBlockHeight(height int64)

SetBlockHeight provides arbitrarily setting the chain's block height.

func (*TestSuite) Store

func (ts *TestSuite) Store() sdk.CommitMultiStore

Store provides access to the underlying KVStore

Jump to

Keyboard shortcuts

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