From 8e9fc62223b8e23c4650d0958d1bde301fb50107 Mon Sep 17 00:00:00 2001 From: evgeniy-scherbina Date: Mon, 9 Oct 2023 16:04:31 -0400 Subject: [PATCH] TMP Commit --- service/cachemdw/cache.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/service/cachemdw/cache.go b/service/cachemdw/cache.go index 07ee2b9..7b0304e 100644 --- a/service/cachemdw/cache.go +++ b/service/cachemdw/cache.go @@ -98,9 +98,9 @@ func (c *ServiceCache) CacheQueryResponse( func (c *ServiceCache) ValidateAndCacheQueryResponse( ctx context.Context, - decodedReq *decode.EVMRPCRequestEnvelope, + req *decode.EVMRPCRequestEnvelope, host string, - body []byte, + response []byte, ) error { // TODO(yevhenii): add validation @@ -111,9 +111,9 @@ func (c *ServiceCache) ValidateAndCacheQueryResponse( if err := c.CacheQueryResponse( ctx, - decodedReq, + req, chainID, - body, + response, ); err != nil { return err }