Skip to content
Snippets Groups Projects
Commit 18601bc6 authored by Wei Tang's avatar Wei Tang
Browse files

Fix compile

parent ac28e549
Branches
No related merge requests found
......@@ -1917,6 +1917,8 @@ name = "service"
version = "0.1.0"
dependencies = [
"shasper-runtime 0.1.0",
"substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)",
"substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)",
"substrate-service 0.3.0 (git+https://github.com/paritytech/substrate)",
]
......
......@@ -5,4 +5,6 @@ authors = ["Parity Team <admin@parity.io>"]
[dependencies]
shasper-runtime = { path = "../runtime" }
substrate-primitives = { git = "https://github.com/paritytech/substrate" }
substrate-client = { git = "https://github.com/paritytech/substrate" }
substrate-service = { git = "https://github.com/paritytech/substrate" }
extern crate shasper_runtime as runtime;
extern crate substrate_primitives as primitives;
extern crate substrate_client as client;
extern crate substrate_service as service;
use runtime::Block;
use primitives::Blake2Hasher;
pub trait Components: serivce::Components {
pub trait Components: service::Components {
type Backend: 'static + client::backend::Backend<Block, Blake2Hasher>;
type Executor: 'static + client::CallExecutor<Block, Blake2Hasher> + Send + Sync;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment