add support for eth_getBlockReceipts

This commit is contained in:
Bryan Stitt 2022-11-26 03:53:30 +00:00
parent f09d836dfe
commit 1f3afca069

View File

@ -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);