extract out runtime-codec to a separate crate

This commit is contained in:
Robert Habermeier
2018-01-30 18:51:12 +01:00
parent 8e554129ec
commit a68b187f4d
27 changed files with 82 additions and 40 deletions
+1
View File
@@ -27,6 +27,7 @@
#![warn(missing_docs)]
extern crate polkadot_runtime_codec as codec;
extern crate polkadot_primitives as primitives;
extern crate polkadot_serializer as serializer;
extern crate polkadot_state_machine as state_machine;
+2 -2
View File
@@ -41,8 +41,8 @@ impl CodeExecutor for NativeExecutor {
#[cfg(test)]
mod tests {
use super::*;
use native_runtime::codec::KeyedVec;
use native_runtime::support::{TestExternalities, one, two, StaticHexInto};
use codec::KeyedVec;
use native_runtime::support::{one, two, TestExternalities, StaticHexInto};
use native_runtime::runtime::staking::balance;
use primitives::twox_128;
+1 -1
View File
@@ -280,8 +280,8 @@ mod tests {
use rustc_hex::FromHex;
use primitives::{blake2_256, twox_128};
use runtime_std;
use codec::KeyedVec;
use native_runtime::support::{one, two, StaticHexInto, TestExternalities};
use native_runtime::codec::KeyedVec;
use native_runtime::runtime::staking::balance;
#[test]