Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul P <rootulp@gmail.com>
  • Loading branch information
evan-forbes and rootulp committed Nov 18, 2022
1 parent 02c81bd commit 2738659
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testutil/testnode/full_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ func DefaultTendermintConfig() *config.Config {
return tmCfg
}

// DefaultGenesisState will create
// DefaultGenesisState returns a default genesis state and a keyring with
// accounts that have coins. The keyring accounts are based on the
// fundedAccounts parameter.
func DefaultGenesisState(fundedAccounts ...string) (map[string]json.RawMessage, keyring.Keyring, error) {
encCfg := encoding.MakeConfig(app.ModuleEncodingRegisters...)
state := app.ModuleBasics.DefaultGenesis(encCfg.Codec)
Expand Down

0 comments on commit 2738659

Please sign in to comment.