Implement engine_getBlobsV1 (#9723)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Michael Sproul
2024-09-10 01:28:53 +10:00
committed by GitHub
parent c258c1547e
commit d8b12ac499
19 changed files with 184 additions and 21 deletions

View File

@ -17,7 +17,10 @@ use reth_rpc_layer::JwtSecret;
use reth_rpc_server_types::RpcModuleSelection;
use reth_rpc_types::engine::{ClientCode, ClientVersionV1};
use reth_tasks::TokioTaskExecutor;
use reth_transaction_pool::test_utils::{TestPool, TestPoolBuilder};
use reth_transaction_pool::{
noop::NoopTransactionPool,
test_utils::{TestPool, TestPoolBuilder},
};
use tokio::sync::mpsc::unbounded_channel;
/// Localhost with port 0 so a free port is used.
@ -43,6 +46,7 @@ pub async fn launch_auth(secret: JwtSecret) -> AuthServerHandle {
MAINNET.clone(),
beacon_engine_handle,
spawn_test_payload_service().into(),
NoopTransactionPool::default(),
Box::<TokioTaskExecutor>::default(),
client,
EngineCapabilities::default(),