networksuite

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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,
			tmdb.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

	Network        *network.Network
	FeeMarketState feemarkettypes.GenesisState
}

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.

Jump to

Keyboard shortcuts

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