Skip to content

Commit

Permalink
Added fix to add wasm cmd (fix ignite#114) (ignite#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Aug 5, 2020
1 parent 28f1e10 commit ec05bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starport/templates/add/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func appModify(opts *Options) genny.RunFn {
}
wasmConfig := wasmWrap.Wasm
supportedFeatures := "staking"
app.wasmKeeper = wasm.NewKeeper(app.cdc, keys[wasm.StoreKey], app.accountKeeper, app.bankKeeper, app.stakingKeeper, wasmRouter, wasmDir, wasmConfig, supportedFeatures, nil, nil) `
app.wasmKeeper = wasm.NewKeeper(app.cdc, keys[wasm.StoreKey], app.subspaces[wasm.ModuleName], app.accountKeeper, app.bankKeeper, app.stakingKeeper, wasmRouter, wasmDir, wasmConfig, supportedFeatures, nil, nil)`
content = strings.Replace(content, placeholder4, template4, 1)

template5 := `%[1]v
Expand Down

0 comments on commit ec05bee

Please sign in to comment.