From b95f2a6a627f2128f6da25c4ffb9e5b6ce52bbf6 Mon Sep 17 00:00:00 2001 From: Felipe Andrade Date: Tue, 9 May 2023 09:38:00 -0700 Subject: [PATCH] make tag earliest cacheable --- proxyd/proxyd/methods.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proxyd/proxyd/methods.go b/proxyd/proxyd/methods.go index 011b476..1cba58e 100644 --- a/proxyd/proxyd/methods.go +++ b/proxyd/proxyd/methods.go @@ -271,8 +271,7 @@ func (e *EthGasPriceMethodHandler) PutRPCMethod(context.Context, *RPCReq, *RPCRe } func isBlockDependentParam(s string) bool { - return s == "earliest" || - s == "latest" || + return s == "latest" || s == "pending" || s == "finalized" || s == "safe"