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
parent 43af640664
commit dd8557ddd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)