Full native build with new structure.

No tests yet.
Wasm build still pulls in std.
This commit is contained in:
Gav
2018-02-07 15:54:18 +01:00
parent 9fe85fc9f4
commit dcff8f1a2f
33 changed files with 56 additions and 74 deletions
@@ -148,7 +148,7 @@ mod tests {
use runtime_io::{with_externalities, twox_128, TestExternalities};
use codec::{KeyedVec, Joiner};
use support::{one, two, with_env};
use primitives::relay::{AccountId, InternalFunction};
use polkadot_primitives::{AccountId, Proposal};
use runtime::{staking, session};
fn new_test_ext() -> TestExternalities {
@@ -140,7 +140,7 @@ mod tests {
use runtime_io::{with_externalities, twox_128, TestExternalities};
use codec::{KeyedVec, Joiner};
use support::{one, two, with_env};
use primitives::relay::AccountId;
use polkadot_primitives::AccountId;
use runtime::{consensus, session};
fn simple_setup() -> TestExternalities {
@@ -216,7 +216,7 @@ mod tests {
use runtime_io::{with_externalities, twox_128, TestExternalities};
use codec::{KeyedVec, Joiner};
use support::{one, two, with_env};
use primitives::relay::AccountId;
use polkadot_primitives::AccountId;
use runtime::{staking, session};
#[test]
@@ -221,7 +221,7 @@ mod tests {
use runtime_io::{with_externalities, twox_128, TestExternalities};
use codec::{Joiner, KeyedVec, Slicable};
use support::{StaticHexInto, HexDisplay, one, two};
use primitives::relay::{Header, Digest, UncheckedTransaction, Transaction, Function};
use polkadot_primitives::{Header, Digest, UncheckedTransaction, Transaction, Function};
use runtime::staking;
#[test]
@@ -338,7 +338,7 @@ mod tests {
#[test]
fn proposals_can_be_stored() {
use primitives::relay::{Proposal, InternalFunction};
use polkadot_primitives::{Proposal, InternalFunction};
let mut t = TestExternalities { storage: HashMap::new(), };
with_externalities(&mut t, || {
let x = Proposal {