diff --git a/rpc/src/v1/impls/eth.rs b/rpc/src/v1/impls/eth.rs index 7627dd61e..026459d9f 100644 --- a/rpc/src/v1/impls/eth.rs +++ b/rpc/src/v1/impls/eth.rs @@ -494,6 +494,16 @@ impl Eth for EthClient where }) } + fn sign(&self, params: Params) -> Result { + from_params::<(Address, Bytes)>(params).and_then(|(addr, data)| { + let accounts = take_weak!(self.accounts); + match accounts.account_secret(&addr) { + Ok(secret) => rpc_unimplemented!(), + Err(_) => rpc_unimplemented!(), + } + }) + } + fn send_transaction(&self, params: Params) -> Result { from_params::<(TransactionRequest, )>(params) .and_then(|(request, )| { @@ -542,6 +552,18 @@ impl Eth for EthClient where to_value(&r.map(|res| res.gas_used + res.refunded).unwrap_or(From::from(0))) }) } + + fn compile_lll(&self, _: params) -> Result { + rpc_unimplemented!() + } + + fn compile_serpent(&self, _: params) -> Result { + rpc_unimplemented!() + } + + fn compile_solidity(&self, _: params) -> Result { + rpc_unimplemented!() + } } /// Eth filter rpc implementation.