fix(baseapp): correctly set header info time on query ctx (backport #22732) (#22737)

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
This commit is contained in:
mergify[bot]
2024-12-03 22:20:13 +01:00
committed by GitHub
co-authored by Damian Nolan
parent 43af640664
commit dd8557ddd5
+1
View File
@@ -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)