Documentation ¶
Overview ¶
Package networksuite provides a base test suite for tests that need a local network instance
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultAppConstructor = func(val network.ValidatorI) servertypes.Application { return app.New( val.GetCtx().Logger, cmtdb.NewMemDB(), nil, true, simtestutil.EmptyAppOptions{}, baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), baseapp.SetChainID(chainID), ) } )
Functions ¶
This section is empty.
Types ¶
type NetworkTestSuite ¶
type NetworkTestSuite struct { suite.Suite NetworkSuite *network.TestSuite AuctionState auctiontypes.GenesisState AuthState authtypes.GenesisState BankState banktypes.GenesisState Accounts []*account.Account }
NetworkTestSuite is a test suite for query tests that initializes a network instance.
func (*NetworkTestSuite) SetupSuite ¶
func (nts *NetworkTestSuite) SetupSuite()
SetupSuite setups the local network with a genesis state.
Click to show internal directories.
Click to hide internal directories.