add support for eth_getBlockReceipts
This commit is contained in:
parent
f09d836dfe
commit
1f3afca069
@ -4,7 +4,7 @@ use ethers::{
|
|||||||
prelude::{BlockNumber, U64},
|
prelude::{BlockNumber, U64},
|
||||||
types::H256,
|
types::H256,
|
||||||
};
|
};
|
||||||
use log::{warn};
|
use log::warn;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use crate::{frontend::authorization::Authorization, rpcs::connections::Web3Connections};
|
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
|
// TODO: double check that any node can serve this
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
"eth_getBlockReceipts" => 0,
|
||||||
"eth_getBlockTransactionCountByHash" => {
|
"eth_getBlockTransactionCountByHash" => {
|
||||||
// TODO: double check that any node can serve this
|
// TODO: double check that any node can serve this
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
|
Loading…
Reference in New Issue
Block a user