From 371e05abc43cd16e5793aeeca0996e2db627f1a9 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Tue, 3 Dec 2024 22:10:05 +0100 Subject: [PATCH] fix(baseapp): correctly set header info time on query ctx (#22732) --- baseapp/abci.go | 1 + 1 file changed, 1 insertion(+) diff --git a/baseapp/abci.go b/baseapp/abci.go index d9921a8e13d5..9bcdb2ea4e10 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -1327,6 +1327,7 @@ func (app *BaseApp) CreateQueryContextWithCheckHeader(height int64, prove, check WithHeaderInfo(coreheader.Info{ ChainID: app.chainID, Height: height, + Time: header.Time, }). WithBlockHeader(*header). WithBlockHeight(height)