simapp

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t *testing.T, withDefaultGenesisState bool) *app.App

New creates application instance with in-memory database and disabled logging.

func NewAppConstructor

func NewAppConstructor() network.AppConstructor

NewAppConstructor returns a new simapp AppConstructor.

func RootDir added in v0.6.0

func RootDir() string

func SetupWithGenesisValSet added in v0.5.0

func SetupWithGenesisValSet(t *testing.T, nolusApp *app.App, genesisState app.GenesisState, valSet *cmttypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, balances ...banktypes.Balance) *app.App

SetupWithGenesisValSet initializes a new GaiaApp with a validator set and genesis accounts that also act as delegators. For simplicity, each validator is bonded with a delegation of one consensus engine unit in the default token of the GaiaApp from first genesis account. A Nop logger is set in GaiaApp.

func TestSetup

func TestSetup(t *testing.T) (*app.App, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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