mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +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:
@@ -368,13 +368,10 @@ mod imp {
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
pub use self::imp::{
|
||||
StorageOverlay, ChildrenStorageOverlay, with_storage,
|
||||
with_externalities
|
||||
};
|
||||
pub use self::imp::{StorageOverlay, ChildrenStorageOverlay, with_storage};
|
||||
#[cfg(not(feature = "std"))]
|
||||
pub use self::imp::ext::*;
|
||||
|
||||
/// Type alias for Externalities implementation used in tests.
|
||||
#[cfg(feature = "std")]
|
||||
pub type TestExternalities<H> = self::imp::TestExternalities<H, u64>;
|
||||
pub type TestExternalities = self::imp::TestExternalities<primitives::Blake2Hasher, u64>;
|
||||
|
||||
Reference in New Issue
Block a user