Skip to content

Commit

Permalink
comment out everything upgrade related to isolate problem
Browse files Browse the repository at this point in the history
  • Loading branch information
NotJeremyLiu committed May 24, 2023
1 parent 127dc5b commit da4efca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/upgrades/v16/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ func CreateUpgradeHandler(

updateTokenFactoryParams(ctx, keepers.TokenFactoryKeeper)

if err := keepers.ProtoRevKeeper.SendDeveloperFeesToDeveloperAccount(ctx); err != nil {
return nil, err
}
//if err := keepers.ProtoRevKeeper.SendDeveloperFeesToDeveloperAccount(ctx); err != nil {
// return nil, err
//}

return migrations, nil
}
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v16/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (suite *UpgradeTestSuite) TestUpgrade() {
suite.Require().False(params.IsPermissionlessPoolCreationEnabled)

// Ensure that the protorev upgrade was successful
verifyProtorevUpdateSuccess(suite)
//verifyProtorevUpdateSuccess(suite)
},
func() {
// Validate that tokenfactory params have been updated
Expand Down
2 changes: 1 addition & 1 deletion x/protorev/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
}

// ConsensusVersion is a sequence number for state-breaking change of the module. It should be incremented on each consensus-breaking change introduced by the module. To avoid wrong/empty versions, the initial version should be set to 1
func (AppModule) ConsensusVersion() uint64 { return 2 }
func (AppModule) ConsensusVersion() uint64 { return 1 }

// BeginBlock contains the logic that is automatically triggered at the beginning of each block
func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {}
Expand Down

0 comments on commit da4efca

Please sign in to comment.