mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-29 23:19:49 +00:00
Move Externalities into its own crate (#3775)
* Move `Externalities` into `substrate-externalities` - `Externalities` now support generic extensions - Split of `primtives-storage` for storage primitive types * Move the externalities scoping into `substrate-externalities` * Fix compilation * Review feedback * Adds macro for declaring extensions * Fix benchmarks * Introduce `ExtensionStore` trait * Last review comments * Implement it for `ExtensionStore`
This commit is contained in:
1 parent
984c6ac839
commit
8a39be474e
95 files changed
+1600
-1420
No files matched your search
@@ -53,14 +53,7 @@ impl RuntimePublic for Public {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use sr_primitives::{generic::BlockId, traits::ProvideRuntimeApi};
|
||||
use primitives::{
|
||||
testing::{
|
||||
KeyStore,
|
||||
ED25519,
|
||||
},
|
||||
crypto::Pair,
|
||||
traits::BareCryptoStore as _,
|
||||
};
|
||||
use primitives::{testing::{KeyStore, ED25519}, crypto::Pair};
|
||||
use test_client::{
|
||||
TestClientBuilder, DefaultTestClientBuilderExt, TestClientBuilderExt,
|
||||
runtime::{TestAPI, app_crypto::ed25519::{AppPair, AppPublic}},
|
||||
|
||||
@@ -53,14 +53,7 @@ impl RuntimePublic for Public {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use sr_primitives::{generic::BlockId, traits::ProvideRuntimeApi};
|
||||
use primitives::{
|
||||
testing::{
|
||||
KeyStore,
|
||||
SR25519,
|
||||
},
|
||||
crypto::Pair,
|
||||
traits::BareCryptoStore as _,
|
||||
};
|
||||
use primitives::{testing::{KeyStore, SR25519}, crypto::Pair};
|
||||
use test_client::{
|
||||
TestClientBuilder, DefaultTestClientBuilderExt, TestClientBuilderExt,
|
||||
runtime::{TestAPI, app_crypto::sr25519::{AppPair, AppPublic}},
|
||||
|
||||
Reference in new issue
Block a user