Add bones for handling RPC methods on test server

This commit is contained in:
Paul Hauner
2021-09-28 15:06:31 +10:00
parent ce569963cc
commit 354955ccff
2 changed files with 38 additions and 4 deletions

View 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")
}