diff --git a/src/eth/rpc/rpc_server.rs b/src/eth/rpc/rpc_server.rs index 4eb4f6fba..c5e8f43da 100644 --- a/src/eth/rpc/rpc_server.rs +++ b/src/eth/rpc/rpc_server.rs @@ -139,6 +139,9 @@ fn register_methods(mut module: RpcModule) -> anyhow::Result, _: Arc) -> anyhow::Result, _: Arc) -> anyhow::Result { + Ok(json!(true)) +} // Blockchain async fn net_version(_: Params<'_>, ctx: Arc) -> String { diff --git a/src/infra/blockchain_client/client.rs b/src/infra/blockchain_client/client.rs index 049a0d6bd..ebdc78ac9 100644 --- a/src/infra/blockchain_client/client.rs +++ b/src/infra/blockchain_client/client.rs @@ -89,7 +89,7 @@ impl BlockchainClient { pub async fn append_entries(&self, entries: Vec) -> anyhow::Result<()> { tracing::debug!(?entries, "appending entries"); let entries = serde_json::to_value(entries)?; - self.http.request::<(), Vec>("eth_appendEntries", vec![entries]).await?; + self.http.request::<(), Vec>("stratus_appendEntries", vec![entries]).await?; Ok(()) }