Skip to content

Commit

Permalink
[update]cosmos-sdk v0.37.6
Browse files Browse the repository at this point in the history
  • Loading branch information
EG-easy committed Jan 29, 2020
1 parent 680cd8f commit 40865c5
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Expand Up @@ -107,7 +107,7 @@ type nibiruApp struct {
mm *module.Manager
}

// NewnibiruApp returns a reference to an initialized nibiruApp.
// NewNibiruApp returns a reference to an initialized nibiruApp.
func NewNibiruApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool,
invCheckPeriod uint, baseAppOptions ...func(*bam.BaseApp)) *nibiruApp {

Expand Down Expand Up @@ -260,7 +260,7 @@ func (app *nibiruApp) LoadHeight(height int64) error {
func (app *nibiruApp) ModuleAccountAddrs() map[string]bool {
modAccAddrs := make(map[string]bool)
for acc := range maccPerms {
modAccAddrs[app.supplyKeeper.GetModuleAddress(acc).String()] = true
modAccAddrs[supply.NewModuleAddress(acc).String()] = true
}

return modAccAddrs
Expand Down
3 changes: 3 additions & 0 deletions cmd/nbrd/main.go
Expand Up @@ -15,6 +15,7 @@ import (
dbm "github.com/tendermint/tm-db"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/store"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down Expand Up @@ -47,10 +48,12 @@ func main() {
rootCmd.AddCommand(
genutilcli.InitCmd(ctx, cdc, app.ModuleBasics, app.DefaultNodeHome),
genutilcli.CollectGenTxsCmd(ctx, cdc, genaccounts.AppModuleBasic{}, app.DefaultNodeHome),
genutilcli.MigrateGenesisCmd(ctx, cdc),
genutilcli.GenTxCmd(ctx, cdc, app.ModuleBasics, staking.AppModuleBasic{}, genaccounts.AppModuleBasic{}, app.DefaultNodeHome, app.DefaultCLIHome),
genutilcli.ValidateGenesisCmd(ctx, cdc, app.ModuleBasics),
// AddGenesisAccountCmd allows users to add accounts to the genesis file
genaccscli.AddGenesisAccountCmd(ctx, cdc, app.DefaultNodeHome, app.DefaultCLIHome),
client.NewCompletionCmd(rootCmd, true),
testnetCmd(ctx, cdc, app.ModuleBasics, genaccounts.AppModuleBasic{}),
)
server.AddCommands(ctx, cdc, rootCmd, newApp, exportAppStateAndTMValidators)
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Expand Up @@ -3,13 +3,14 @@ module github.com/cosmos-gaminghub/nibiru
go 1.13

require (
github.com/cosmos/cosmos-sdk v0.34.4-0.20191218181537-cf4645213d41
github.com/cosmos/cosmos-sdk v0.37.6
github.com/otiai10/copy v1.0.2
github.com/pkg/errors v0.8.1
github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.6.1
github.com/stretchr/testify v1.4.0
github.com/tendermint/go-amino v0.15.1
github.com/tendermint/tendermint v0.32.8
github.com/tendermint/tendermint v0.32.9
github.com/tendermint/tm-db v0.2.0
)

0 comments on commit 40865c5

Please sign in to comment.