Documentation ¶
Index ¶
- func New(t *testing.T, dir string, withDefaultGenesisState bool) *app.App
- func NewAppConstructor() network.AppConstructor
- func NewDefaultGenesisState(cdc codec.JSONCodec) app.GenesisState
- func SetupWithGenesisValSet(t *testing.T, nolusApp *app.App, genesisState app.GenesisState, ...) *app.App
- func TestSetup(t *testing.T) (*app.App, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppConstructor ¶
func NewAppConstructor() network.AppConstructor
NewAppConstructor returns a new simapp AppConstructor.
func NewDefaultGenesisState ¶
func NewDefaultGenesisState(cdc codec.JSONCodec) app.GenesisState
NewDefaultGenesisState generates the default state for the application.
func SetupWithGenesisValSet ¶ added in v0.5.0
func SetupWithGenesisValSet(t *testing.T, nolusApp *app.App, genesisState app.GenesisState, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, 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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.