Skip to content

Commit

Permalink
make linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jgimeno committed Sep 20, 2023
1 parent 7ab3e0c commit 7a83faf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package app
import (
"encoding/json"
"fmt"
"github.com/NibiruChain/nibiru/app/upgrades"
"io"
"net/http"
"os"
"path/filepath"

"github.com/NibiruChain/nibiru/app/upgrades"

"github.com/NibiruChain/nibiru/x/genmsg"

"github.com/NibiruChain/nibiru/x/sudo/keeper"
Expand Down Expand Up @@ -363,6 +364,8 @@ func NewNibiruApp(

app.InitModuleManager(encodingConfig, skipGenesisInvariants)

app.setupUpgradeHandlers()

// NOTE: Any module instantiated in the module manager that is later modified
// must be passed by reference here.

Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

func emptyUpgradeHandler(mm *module.Manager, configurator module.Configurator, bm BaseAppParamManager) upgradetypes.UpgradeHandler {
func emptyUpgradeHandler(mm *module.Manager, configurator module.Configurator, _ BaseAppParamManager) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return mm.RunMigrations(ctx, configurator, fromVM)
}
Expand Down

0 comments on commit 7a83faf

Please sign in to comment.