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:
Amaury Martiny
2020-08-12 14:42:10 +00:00
committed by GitHub
co-authored by Alexander Bezobchuk
parent 4891cc0748
commit b08f160adb
7 changed files with 121 additions and 18 deletions
+6
View File
@@ -0,0 +1,6 @@
package grpc
const (
// GRPCBlockHeightHeader is the gRPC header for block height.
GRPCBlockHeightHeader = "x-cosmos-block-height"
)