Rename codec -> substrate-codec, executor -> substrate-executor.

This commit is contained in:
Gav
2018-02-07 11:29:10 +01:00
parent 1b7f34bef2
commit c0d072a5f3
35 changed files with 116 additions and 115 deletions
+7 -7
View File
@@ -375,10 +375,6 @@ dependencies = [
"crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "polkadot-codec"
version = "0.1.0"
[[package]]
name = "polkadot-primitives"
version = "0.1.0"
@@ -387,10 +383,10 @@ dependencies = [
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"fixed-hash 0.1.3 (git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm)",
"polkadot-codec 0.1.0",
"rustc-hex 2.0.0 (git+https://github.com/rphmeier/rustc-hex.git)",
"serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-codec 0.1.0",
"twox-hash 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"uint 0.1.2 (git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm)",
]
@@ -401,12 +397,12 @@ version = "0.1.0"
dependencies = [
"ed25519 0.1.0",
"environmental 0.1.0",
"polkadot-codec 0.1.0",
"polkadot-primitives 0.1.0",
"polkadot-state-machine 0.1.0",
"pwasm-alloc 0.1.0",
"pwasm-libc 0.1.0",
"rustc_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-codec 0.1.0",
"triehash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -551,9 +547,9 @@ dependencies = [
name = "runtime-polkadot"
version = "0.1.0"
dependencies = [
"polkadot-codec 0.1.0",
"polkadot-primitives 0.1.0",
"polkadot-runtime-std 0.1.0",
"substrate-codec 0.1.0",
]
[[package]]
@@ -633,6 +629,10 @@ name = "stable_deref_trait"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "substrate-codec"
version = "0.1.0"
[[package]]
name = "syn"
version = "0.11.11"
+2 -2
View File
@@ -7,10 +7,10 @@ authors = ["Parity Technologies <admin@parity.io>"]
crate-type = ["cdylib"]
[dependencies]
polkadot-codec = { path = "../../codec", version = "0.1", default-features = false }
substrate-codec = { path = "../../codec", version = "0.1", default-features = false }
polkadot-runtime-std = { path = "../../runtime-std", version = "0.1", default-features = false }
polkadot-primitives = { path = "../../primitives", version = "0.1", default-features = false }
[features]
default = []
std = ["polkadot-codec/std", "polkadot-runtime-std/std", "polkadot-primitives/std"]
std = ["substrate-codec/std", "polkadot-runtime-std/std", "polkadot-primitives/std"]
+1 -1
View File
@@ -27,7 +27,7 @@ extern crate rustc_hex;
#[macro_use]
extern crate log;
extern crate polkadot_codec as codec;
extern crate substrate_codec as codec;
extern crate polkadot_primitives as primitives;
#[cfg(test)]
@@ -16,6 +16,7 @@
//! Main parachains logic. For now this is just the determination of which validators do what.
use runtime_std::prelude::*;
use runtime_std::mem;
use codec::{Slicable, Joiner};
use support::{Hashable, with_env, storage};