Documentation
¶
Index ¶
- func AddGenesisAccount(addr sdk.AccAddress, appState map[string]json.RawMessage, cdc codec.Codec) (map[string]json.RawMessage, error)
- func GenerateKeyringSigner(t *testing.T, acct string) *types.KeyringSigner
- func NewDefaultGenesisState(cdc codec.JSONCodec) app.GenesisState
- func SetupTestApp(t *testing.T, addr sdk.AccAddress) *app.App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGenesisAccount ¶
func AddGenesisAccount(addr sdk.AccAddress, appState map[string]json.RawMessage, cdc codec.Codec) (map[string]json.RawMessage, error)
AddGenesisAccount mimics the cli addGenesisAccount command, providing an account with an allocation of to "token" and "celes" tokens in the genesis state
func GenerateKeyringSigner ¶
func GenerateKeyringSigner(t *testing.T, acct string) *types.KeyringSigner
GenerateKeyringSigner creates a types.KeyringSigner with keys generated for the provided accounts
func NewDefaultGenesisState ¶
func NewDefaultGenesisState(cdc codec.JSONCodec) app.GenesisState
NewDefaultGenesisState generates the default state for the application.
func SetupTestApp ¶
SetupTestApp initializes a celestia-app application with a funded account
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.