diff --git a/web3_proxy/src/block_number.rs b/web3_proxy/src/block_number.rs index 47db3817..aba4f11d 100644 --- a/web3_proxy/src/block_number.rs +++ b/web3_proxy/src/block_number.rs @@ -230,6 +230,13 @@ impl CacheMode { let block_param_id = match method { "eth_call" => 1, "eth_estimateGas" => 1, + "eth_feeHistory" => 1, + "eth_gasPrice" => { + return Ok(CacheMode::Cache { + block: head_block.into(), + cache_errors: false, + }); + } "eth_getBalance" => 1, "eth_getBlockByHash" => { // TODO: double check that any node can serve this