[Bug]: checkHeader
at baseApp.CreateQueryContext
should not be enabled by default
#22693
Open
1 task done
Labels
Is there an existing issue for this?
What happened?
When we use query endpoint, there are a lot of case the query comes during commit and this could lead
checkHeader
to be failed frequently.cosmos-sdk/baseapp/abci.go
Line 1250 in 6cfe2dc
cosmos-sdk/baseapp/abci.go
Line 1305 in 6cfe2dc
I also saw this PR, so rather to have this by default we can make new flag or params when we receive request like
x-cosmos-block-height
.Cosmos SDK Version
main, v0.52
How to reproduce?
In this PR tests here, change
CreateQueryContextWithCheckHeader
toCreateQueryContext
.The text was updated successfully, but these errors were encountered: