From 770a38d94bd221d416bbccef910d38c56af5661a Mon Sep 17 00:00:00 2001 From: Teddy Ding Date: Mon, 25 Nov 2024 13:16:56 -0500 Subject: [PATCH] fix format --- baseapp/abci.go | 1 - baseapp/baseapp.go | 9 --------- types/abci.go | 1 - types/module/module.go | 1 - 4 files changed, 12 deletions(-) diff --git a/baseapp/abci.go b/baseapp/abci.go index b79868c6f7ad..8811429a85c1 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -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()) diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index 2d4005ca0e19..95f11642087d 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -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) diff --git a/types/abci.go b/types/abci.go index a387e1331275..86a1bb07cdab 100644 --- a/types/abci.go +++ b/types/abci.go @@ -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 } diff --git a/types/module/module.go b/types/module/module.go index 62ca039b7b20..432d51b5fde9 100644 --- a/types/module/module.go +++ b/types/module/module.go @@ -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) }