[big refactor] Remove crate aliasing. (#4395)

* Rename: Phase 1.

* Unify codec.

* Fixing: Phase 2

* Fixing: Phase 3.

* Fixing: Phase 4.

* Fixing: Phase 5.

* Fixing: Phase 6.

* Fixing: Phase 7.

* Fixing: Phase 8. Tests

* Fixing: Phase 9. Tests!!!

* Fixing: Phase 10. Moar tests!

* Finally done!

* More fixes.

* Rename primitives:: to sp_core::

* Apply renames in finality-grandpa.

* Fix benches.

* Fix benches 2.

* Revert node-template.

* Fix frame-system in our modules.
This commit is contained in:
Tomasz Drwięga
2019-12-16 13:36:49 +01:00
committed by Gavin Wood
parent f14d98a439
commit 8778ca7dc8
485 changed files with 4023 additions and 4005 deletions
@@ -9,8 +9,8 @@ codec = { package = "parity-scale-codec", version = "1.0.0" }
jsonrpc-core = "14.0.3"
jsonrpc-core-client = "14.0.3"
jsonrpc-derive = "14.0.3"
primitives = { package = "sp-core", path = "../../../primitives/core" }
rpc-primitives = { package = "sp-rpc", path = "../../../primitives/rpc" }
sp-core = { path = "../../../primitives/core" }
sp-rpc = { path = "../../../primitives/rpc" }
serde = { version = "1.0.101", features = ["derive"] }
sp-runtime = { path = "../../../primitives/runtime" }
sp-blockchain = { path = "../../../primitives/blockchain" }
@@ -10,7 +10,7 @@ sp-api = { path = "../../../../primitives/api", default-features = false }
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] }
sp-std = { path = "../../../../primitives/std", default-features = false }
sp-runtime = { path = "../../../../primitives/runtime", default-features = false }
support = { package = "frame-support", path = "../../../support", default-features = false }
frame-support = { path = "../../../support", default-features = false }
[dev-dependencies]
serde_json = "1.0.41"
@@ -23,5 +23,5 @@ std = [
"codec/std",
"sp-std/std",
"sp-runtime/std",
"support/std",
"frame-support/std",
]
@@ -19,7 +19,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
use sp_std::prelude::*;
use support::weights::{Weight, DispatchClass};
use frame_support::weights::{Weight, DispatchClass};
use codec::{Encode, Codec, Decode};
#[cfg(feature = "std")]
use serde::{Serialize, Deserialize};
@@ -25,7 +25,7 @@ use sp_runtime::{
generic::BlockId,
traits::{Block as BlockT, ProvideRuntimeApi, UniqueSaturatedInto},
};
use primitives::Bytes;
use sp_core::Bytes;
use pallet_transaction_payment_rpc_runtime_api::CappedDispatchInfo;
pub use pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi as TransactionPaymentRuntimeApi;
pub use self::gen_client::Client as TransactionPaymentClient;