From 6cd4ac9b50a8178656497a1aedd7e4fb305bedf5 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Mon, 14 Sep 2020 11:30:17 +0100 Subject: [PATCH] baseapp: fix TestGRPCRouter (#7293) --- baseapp/grpcrouter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baseapp/grpcrouter_test.go b/baseapp/grpcrouter_test.go index 2e06ea7ae2..778d2e4fd5 100644 --- a/baseapp/grpcrouter_test.go +++ b/baseapp/grpcrouter_test.go @@ -19,7 +19,7 @@ func TestGRPCRouter(t *testing.T) { testdata.RegisterTestServiceServer(qr, testdata.TestServiceImpl{}) helper := &QueryServiceTestHelper{ GRPCQueryRouter: qr, - ctx: sdk.Context{}, + ctx: sdk.Context{}.WithContext(context.Background()), } client := testdata.NewTestServiceClient(helper)