Skip to content

Commit

Permalink
TMP Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed Oct 9, 2023
1 parent c0e9ff0 commit d46d14d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions service/cachemdw/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,7 @@ func (c *ServiceCache) ValidateAndCacheQueryResponse(
host string,
body []byte,
) error {
// Check the response body if we should cache it. This checks for errors
// or empty responses.
//jsonMsg, err := UnmarshalJsonRpcMessage(body)
//if err != nil {
// return fmt.Errorf("could not unmarshal json rpc message: %w", err)
//}
//
//if err := jsonMsg.CheckCacheable(); err != nil {
// return fmt.Errorf("response not cacheable: %w", err)
//}
// TODO(yevhenii): add validation

chainID, err := c.GetAndCacheChainID(ctx, host)
if err != nil {
Expand Down

0 comments on commit d46d14d

Please sign in to comment.