Skip to content

Commit

Permalink
fix(baseapp): correctly set header info time on query ctx (backport #…
Browse files Browse the repository at this point in the history
…22732) (#22737)

Co-authored-by: Damian Nolan <[email protected]>
  • Loading branch information
mergify[bot] and damiannolan authored Dec 3, 2024
1 parent 43af640 commit dd8557d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dd8557d

Please sign in to comment.