Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Nov 25, 2024
1 parent 7b36590 commit 770a38d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,6 @@ func (app *BaseApp) internalFinalizeBlock(ctx context.Context, req *abci.Request
}

events = append(events, endBlock.Events...)
// NEXT similar to this. Get blocktime.next delay.

cp := app.GetConsensusParams(app.finalizeBlockState.Context())

Expand Down
9 changes: 0 additions & 9 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1304,15 +1304,6 @@ func (app *BaseApp) Close() error {

// Close app.db (opened by cosmos-sdk/server/start.go call to openDB)
if app.db != nil {
fmt.Printf(
"!!!!!! Closing application.db\n",
)
fmt.Printf(
"!!!!!! Closing application.db\n",
)
fmt.Printf(
"!!!!!! Closing application.db\n",
)
app.logger.Info("Closing application.db")
if err := app.db.Close(); err != nil {
errs = append(errs, err)
Expand Down
1 change: 0 additions & 1 deletion types/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ type EndBlocker func(Context) (EndBlock, error)

// EndBlock defines a type which contains endblock events and validator set updates
type EndBlock struct {
// NEXT
ValidatorUpdates []abci.ValidatorUpdate
Events []abci.Event
}
Expand Down
1 change: 0 additions & 1 deletion types/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ type HasABCIEndblock HasABCIEndBlock
// HasABCIEndBlock is the interface for modules that need to run code at the end of the block.
type HasABCIEndBlock interface {
AppModule
// NEXT
EndBlock(context.Context) ([]abci.ValidatorUpdate, error)
}

Expand Down

0 comments on commit 770a38d

Please sign in to comment.