mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 04:35:04 +00:00
extract out runtime-codec to a separate crate
This commit is contained in:
1 parent
8e554129ec
commit
a68b187f4d
27 files changed
+82
-40
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user