Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…m/migaloo-chain into feat/feeburn
  • Loading branch information
hoank101 committed Jan 4, 2024
2 parents 8d6b5ef + 974f4ae commit 56bf184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,6 @@ func NewMigalooApp(
),
)

// upgrade handlers
cfg := module.NewConfigurator(appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter())

/**** Module Options ****/

// NOTE: we may consider parsing `appOpts` inside module constructors. For the moment
Expand Down Expand Up @@ -891,7 +888,7 @@ func NewMigalooApp(
app.MountTransientStores(tkeys)
app.MountMemoryStores(memKeys)
// register upgrade
app.setupUpgradeHandlers(cfg)
app.setupUpgradeHandlers()

anteHandler, err := NewAnteHandler(
HandlerOptions{
Expand Down Expand Up @@ -1094,7 +1091,7 @@ func RegisterSwaggerAPI(rtr *mux.Router) {
}

// Setup Upgrade Handler
func (app *MigalooApp) setupUpgradeHandlers(cfg module.Configurator) {
func (app *MigalooApp) setupUpgradeHandlers() {
app.UpgradeKeeper.SetUpgradeHandler(
v2.UpgradeName,
v2.CreateUpgradeHandler(app.mm, app.configurator),
Expand Down
1 change: 0 additions & 1 deletion scripts/run-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ update_test_genesis '.app_state["mint"]["params"]["mint_denom"]="'$DENOM'"'
update_test_genesis '.app_state["gov"]["deposit_params"]["min_deposit"]=[{"denom":"'$DENOM'","amount": "1000000"}]'
update_test_genesis '.app_state["crisis"]["constant_fee"]={"denom":"'$DENOM'","amount":"1000"}'
update_test_genesis '.app_state["staking"]["params"]["bond_denom"]="'$DENOM'"'
update_test_genesis '.app_state["

# enable rest server and swagger
$SED_BINARY -i '0,/enable = false/s//enable = true/' $HOME_DIR/config/app.toml
Expand Down

0 comments on commit 56bf184

Please sign in to comment.