From 1f3afca069882662ca13c92d4c80163edd82eb13 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 26 Nov 2022 03:53:30 +0000 Subject: [PATCH] add support for eth_getBlockReceipts --- web3_proxy/src/block_number.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3_proxy/src/block_number.rs b/web3_proxy/src/block_number.rs index 932dfff5..b383a375 100644 --- a/web3_proxy/src/block_number.rs +++ b/web3_proxy/src/block_number.rs @@ -4,7 +4,7 @@ use ethers::{ prelude::{BlockNumber, U64}, types::H256, }; -use log::{warn}; +use log::warn; use std::sync::Arc; use crate::{frontend::authorization::Authorization, rpcs::connections::Web3Connections}; @@ -128,6 +128,7 @@ pub async fn block_needed( // TODO: double check that any node can serve this return Ok(None); } + "eth_getBlockReceipts" => 0, "eth_getBlockTransactionCountByHash" => { // TODO: double check that any node can serve this return Ok(None);