From e6ac0625d730c69c39c574a7460577aec755e080 Mon Sep 17 00:00:00 2001 From: prathamesh0 Date: Wed, 2 Nov 2022 18:49:21 +0530 Subject: [PATCH] Fix for failing tests --- pkg/graphql/graphql_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/graphql/graphql_test.go b/pkg/graphql/graphql_test.go index 258d6afe..f52c9be0 100644 --- a/pkg/graphql/graphql_test.go +++ b/pkg/graphql/graphql_test.go @@ -296,7 +296,7 @@ var _ = Describe("GraphQL", func() { allEthHeaderCIDsResp, err := client.AllEthHeaderCIDs(ctx, graphql.EthHeaderCIDCondition{BlockHash: &blockHash}) Expect(err).ToNot(HaveOccurred()) - headerCID, err := backend.Retriever.RetrieveHeaderAndTxCIDsByBlockHash(blocks[1].Hash()) + headerCID, err := backend.Retriever.RetrieveHeaderAndTxCIDsByBlockHash(blocks[1].Hash(), nil) Expect(err).ToNot(HaveOccurred()) Expect(len(allEthHeaderCIDsResp.Nodes)).To(Equal(1))