mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
RPC & Client (#21)
* Initial version of http server. * Refactor the structure. * add unassigned ports info. * Rename servers to match conventions. * Add client crate and some proper RPC implementations. * Style & docs.
This commit is contained in:
committed by
Robert Habermeier
parent
0ceebe6625
commit
db78e5fb4c
@@ -18,7 +18,7 @@
|
||||
|
||||
use primitives::contract::{CallData, OutData};
|
||||
use serializer::{from_slice as de, to_vec as ser};
|
||||
use state_machine::{StaticExternalities, Externalities, Executor};
|
||||
use state_machine::{StaticExternalities, Externalities, CodeExecutor};
|
||||
|
||||
use error::{Error, ErrorKind, Result};
|
||||
use auth;
|
||||
@@ -42,7 +42,7 @@ impl RustExecutor {
|
||||
const VALIDATOR_SET: u8 = 3;
|
||||
}
|
||||
|
||||
impl Executor for RustExecutor {
|
||||
impl CodeExecutor for RustExecutor {
|
||||
type Error = Error;
|
||||
|
||||
fn call_static<E: StaticExternalities<Self>>(
|
||||
|
||||
Reference in New Issue
Block a user