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

This commit is contained in:
Damian Nolan 2024-12-03 22:10:05 +01:00 committed by GitHub
parent af4b7d20c5
commit 371e05abc4
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)