Skip to content

Commit

Permalink
Simapp Localnet (cosmos#6421)
Browse files Browse the repository at this point in the history
* Setup localnet

* Fix compose

* Fix file perms

* Fix build

* Codec + lint updates

* lint++
  • Loading branch information
alexanderbez committed Jun 12, 2020
1 parent d04553d commit 3a0bf11
Show file tree
Hide file tree
Showing 3 changed files with 389 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/simd/genaccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (

// AddGenesisAccountCmd returns add-genesis-account cobra Command.
func AddGenesisAccountCmd(
ctx *server.Context, depCdc *codec.Codec, cdc *std.Codec, defaultNodeHome, defaultClientHome string,
ctx *server.Context, depCdc codec.JSONMarshaler, cdc *std.Codec, defaultNodeHome, defaultClientHome string,
) *cobra.Command {

cmd := &cobra.Command{
Expand Down
1 change: 1 addition & 0 deletions cmd/simd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func main() {
genutilcli.ValidateGenesisCmd(ctx, cdc, simapp.ModuleBasics),
AddGenesisAccountCmd(ctx, cdc, appCodec, simapp.DefaultNodeHome, simapp.DefaultCLIHome),
flags.NewCompletionCmd(rootCmd, true),
testnetCmd(ctx, cdc, simapp.ModuleBasics, bank.GenesisBalancesIterator{}),
debug.Cmd(cdc))

server.AddCommands(ctx, cdc, rootCmd, newApp, exportAppStateAndTMValidators)
Expand Down
Loading

0 comments on commit 3a0bf11

Please sign in to comment.