From 5869793f3e18040e23cbd72b0797f5dbc5e7ce48 Mon Sep 17 00:00:00 2001 From: Kartik Bhat Date: Fri, 22 Nov 2024 12:18:25 -0500 Subject: [PATCH] Remove Unnecessary Serving logs (#553) - Removes unnecessary serving logs for qms vs cms --- baseapp/abci.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/baseapp/abci.go b/baseapp/abci.go index c9a67abf..f07b8bc0 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -735,10 +735,8 @@ func (app *BaseApp) CreateQueryContext(height int64, prove bool) (sdk.Context, e var cacheMS types.CacheMultiStore if height < app.migrationHeight && app.qms != nil { cacheMS, err = app.qms.CacheMultiStoreWithVersion(height) - app.logger.Info("SeiDB Archive Migration: Serving Query From Iavl", "height", height) } else { cacheMS, err = app.cms.CacheMultiStoreWithVersion(height) - app.logger.Info("SeiDB Archive Migration: Serving Query From State Store", "height", height) } if err != nil { @@ -921,13 +919,11 @@ func handleQueryStore(app *BaseApp, path []string, req abci.RequestQuery) abci.R if !ok { return sdkerrors.QueryResultWithDebug(sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, "multistore doesn't support queries"), app.trace) } - app.logger.Info("SeiDB Archive Migration: Serving Query From Iavl", "height", req.Height) } else { queryable, ok = app.cms.(sdk.Queryable) if !ok { return sdkerrors.QueryResultWithDebug(sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, "multistore doesn't support queries"), app.trace) } - app.logger.Info("SeiDB Archive Migration: Serving Query From State Store", "height", req.Height) } // "/store" prefix for store queries