mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
[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:
committed by
Gavin Wood
parent
f14d98a439
commit
8778ca7dc8
@@ -20,10 +20,10 @@
|
||||
|
||||
use codec::{Encode, Decode};
|
||||
|
||||
use app_crypto::sr25519;
|
||||
pub use app_crypto;
|
||||
use sp_application_crypto::sr25519;
|
||||
pub use sp_application_crypto;
|
||||
|
||||
pub use primitives::{hash::H256, RuntimeDebug};
|
||||
pub use sp_core::{hash::H256, RuntimeDebug};
|
||||
use sp_runtime::traits::{BlakeTwo256, Verify, Extrinsic as ExtrinsicT,};
|
||||
|
||||
/// Extrinsic for test-runtime.
|
||||
@@ -79,8 +79,8 @@ pub type Header = sp_runtime::generic::Header<BlockNumber, BlakeTwo256>;
|
||||
|
||||
|
||||
/// Changes trie configuration (optionally) used in tests.
|
||||
pub fn changes_trie_config() -> primitives::ChangesTrieConfiguration {
|
||||
primitives::ChangesTrieConfiguration {
|
||||
pub fn changes_trie_config() -> sp_core::ChangesTrieConfiguration {
|
||||
sp_core::ChangesTrieConfiguration {
|
||||
digest_interval: 4,
|
||||
digest_levels: 2,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user