Add GRPCBlockHeightHeader in clientCtx gRPC requests (#7021)
* Add header in client context grpc * Second try * Make headers work * Use QueryABCI * Put header in types Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
co-authored by
Alexander Bezobchuk
parent
4891cc0748
commit
b08f160adb
@@ -0,0 +1,6 @@
|
||||
package grpc
|
||||
|
||||
const (
|
||||
// GRPCBlockHeightHeader is the gRPC header for block height.
|
||||
GRPCBlockHeightHeader = "x-cosmos-block-height"
|
||||
)
|
||||
Reference in New Issue
Block a user