mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 06:44:35 +00:00
Add bones for handling RPC methods on test server
This commit is contained in:
10
beacon_node/execution_layer/src/test_utils/handle_rpc.rs
Normal file
10
beacon_node/execution_layer/src/test_utils/handle_rpc.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use super::Context;
|
||||
use std::sync::Arc;
|
||||
use types::EthSpec;
|
||||
|
||||
pub async fn handle_rpc<T: EthSpec>(
|
||||
body: serde_json::Value,
|
||||
ctx: Arc<Context<T>>,
|
||||
) -> Result<serde_json::Value, String> {
|
||||
todo!("handle_rpc")
|
||||
}
|
||||
Reference in New Issue
Block a user